Globals::joaat: Difference between revisions

From RAGE Multiplayer Wiki
(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...")
 
No edit summary
Line 1: Line 1:
This function generates hashes/arrays of hashes (hash is integer) using strings/arrays of strings. Those hashes could be used to set entity model.
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==
==Syntax==

Revision as of 22:34, 26 December 2016

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]