Globals::invoke

From RAGE Multiplayer Wiki
Revision as of 11:12, 2 June 2018 by Kubas (talk | contribs) (Created page with "Invokes specified [https://cdn.rage.mp/public/natives/ native] function ==Parameters== * '''hash: <span style="color:#008017>String</span>''' * '''args: <span style="color:#0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Invokes specified native function

Parameters

  • hash: String
  • args: Any

Syntax

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

Example

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