Globals::invoke

From RAGE Multiplayer Wiki
Revision as of 11:15, 2 June 2018 by Kubas (talk | contribs)

Invokes specified native function

Parameters

  • hash: String
  • args: Any

Syntax

Client-Side
mp.game.invoke(hash, [, ...args])

Example

Client-Side
mp.game.invoke('0xBBAF4B768DDB7572', player, true) // 0xBBAF4B768DDB7572 - FREEZE_ENTITY_POSITION (1.39)