SET_PLAYER_INVINCIBLE
Simply sets you as invincible (Health will not deplete).
Hash
0xFEBEEBC9CBDF4B12Runtime name
SetPlayerInvincibleNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x239528EACDC3E7DESignature
void SET_PLAYER_INVINCIBLE(Player player, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
toggle | BOOL | — |
Returns void
Description
Simply sets you as invincible (Health will not deplete).
Usage
SetPlayerInvincible(player, toggle)
-- always works, by hash
Citizen.InvokeNative(0xFEBEEBC9CBDF4B12, player, toggle)JavaScript and C#
SetPlayerInvincible(player, toggle);
// by hash
Citizen.invokeNative('0xFEBEEBC9CBDF4B12', player, toggle);Function.Call((Hash)0xFEBEEBC9CBDF4B12, player, toggle);See also
GET_PLAYER_INVINCIBLEReturns the player's invincibility status.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.