PlayerClient

getPlayerDebugInvincible

GET_PLAYER_DEBUG_INVINCIBLE0xDCC07526B8EC45AF

The 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.

SignatureJavaScript
getPlayerDebugInvincible(player: Player): boolean
SignatureLua
getPlayerDebugInvincible(player: Player): boolean

Usage

JavaScript
const result = getPlayerDebugInvincible(player);
Lua
local result = getPlayerDebugInvincible(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference