Globals::invokeFloat

From RAGE Multiplayer Wiki
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