Globals::joaat

From RAGE Multiplayer Wiki
Revision as of 11:24, 26 October 2018 by Rootcause (talk | contribs) (Replaced HTML with template)

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

mp.joaat(String);
mp.joaat(String[]);
mp.game.joaat(String);
mp.game.joaat(String[]);

Examples

Server-Side
mp.joaat("bati");
mp.joaat(["bati", "benson"]);


Client-Side
mp.game.joaat("bati");
mp.game.joaat(["bati", "benson"]);