Globals::invokeVector3

From RAGE Multiplayer Wiki
(Redirected from Globals::invokeVector)
Jump to navigation Jump to search

Invokes a specified Native that returns a Vector3 object.

Syntax

mp.game.invokeVector3(hash, args);

Required Arguments

  • hash: String
  • args: Any

Return Value

  • Vector3

Example

Client-Side
let bonePosVector = mp.game.invokeVector3('0x44A8FCB8ED227738', mp.players.local.handle, boneId);

See also