getPlayerDebugInvincible
GET_PLAYER_DEBUG_INVINCIBLE0xDCC07526B8EC45AFThe GTA V native GET_PLAYER_DEBUG_INVINCIBLE of the PLAYER namespace, as LS:MP client scripts call it: the global function getPlayerDebugInvincible, in JavaScript and in Lua.
getPlayerDebugInvincible(player: Player): booleangetPlayerDebugInvincible(player: Player): booleanUsage
JavaScript
const result = getPlayerDebugInvincible(player);Lua
local result = getPlayerDebugInvincible(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Always returns false.
Reference
- Namespace
- Player PLAYER
- In the game
BOOL GET_PLAYER_DEBUG_INVINCIBLE(Player player)- Hash
0xDCC07526B8EC45AF- Introduced
- Game build 1868 legacy numbering