Globals::joaat

From RAGE Multiplayer Wiki
Revision as of 22:33, 26 December 2016 by Ragempdev (talk | contribs) (Created page with "This function generates hashes/arrays of hashes (hash is integer) using strings/arrays of strings. Those hashes could be used to set entity model. ==Syntax== <syntaxhighligh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function generates hashes/arrays of hashes (hash is integer) using strings/arrays of strings. Those hashes could be used to set entity model.


Syntax

events.call(eventName, optionalArguments);

Example

console.log(mp.joaat("bati")); // 4180675781
console.log(mp.joaat(["bati", "benson"])); // [4180675781, 2053223216]