Globals::invoke

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

Invokes specified native function

Parameters

  • hash: String
  • args: Any

Syntax

mp.game.invoke(hash, [, ...args])

Example

Client-Side
mp.game.invoke('0xBBAF4B768DDB7572', mp.players.local.handle, true); // 0xBBAF4B768DDB7572 - FREEZE_ENTITY_POSITION (1.39)