Globals::invokeVector

From RAGE Multiplayer Wiki
Revision as of 08:22, 6 November 2019 by Unknown (talk | contribs) (Created page with "__TOC__ Invokes a specified [https://cdn.rage.mp/public/natives/ Native] that returns a <b>Vector3</b> object. == Syntax == <pre> mp.game.invokeVector(hash, args); </pre>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Invokes a specified Native that returns a Vector3 object.

Syntax

mp.game.invokeVector(hash, args);

Required Arguments

  • hash: String
  • args: Any

Return Value

  • Vector3

Example

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

See also