Globals::invokeFloat

From RAGE Multiplayer Wiki
Revision as of 08:16, 6 November 2019 by Unknown (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Invokes a specified Native that returns a float value.

Syntax

mp.game.invokeFloat(hash, args);

Required Arguments

  • hash: String
  • args: Any

Return Value

  • Float

Example

Client-Side
let phoneGestureAnimTime = mp.game.invokeFloat('0x47619ABE8B268C60', mp.players.local.handle);

See also