networkSetLocalPlayerInvincibleTime
NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME0x2D95C7E2D7E07307The GTA V native NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetLocalPlayerInvincibleTime, in JavaScript and in Lua.
networkSetLocalPlayerInvincibleTime(time: number): voidnetworkSetLocalPlayerInvincibleTime(time: integer)Usage
JavaScript
networkSetLocalPlayerInvincibleTime(time);Lua
networkSetLocalPlayerInvincibleTime(time)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
time | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME(int time)- Hash
0x2D95C7E2D7E07307