Globals::invokeString

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Invokes a specified Native that returns a String value.

Syntax

mp.game.invokeString(hash, args);

Required Arguments

  • hash: String
  • args: Any

Return Value

  • String

Example

Client-Side
let stateString = mp.game.invokeString('0x717E4D1F2048376D', mp.players.local.handle);

See also