Globals::invoke: Difference between revisions

From RAGE Multiplayer Wiki
m (Replaced HTML with template)
No edit summary
Line 16: Line 16:
</pre>
</pre>
}}
}}
== See Also ==
{{GameGlobals}}


[[Category:Clientside API]]
[[Category:Clientside API]]

Revision as of 08:15, 6 November 2019

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)

See Also