RedM Natives

NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME

Hash0x2D95C7E2D7E07307
Runtime nameNetworkSetLocalPlayerInvincibleTime
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2D95C7E2D7E07307

Signature

void NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME(int time);

Parameters

NameTypeDescription
timeint—

Returns void

Usage

Lua
NetworkSetLocalPlayerInvincibleTime(time)

-- always works, by hash
Citizen.InvokeNative(0x2D95C7E2D7E07307, time)
JavaScript and C#
JavaScript
NetworkSetLocalPlayerInvincibleTime(time);

// by hash
Citizen.invokeNative('0x2D95C7E2D7E07307', time);
C#
Function.Call((Hash)0x2D95C7E2D7E07307, time);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.