isPlayerDead
IS_PLAYER_DEAD0x424D4687FA1E5652The GTA V native IS_PLAYER_DEAD of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerDead, in JavaScript and in Lua.
isPlayerDead(player: Player): booleanisPlayerDead(player: Player): booleanUsage
JavaScript
const result = isPlayerDead(player);Lua
local result = isPlayerDead(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Player PLAYER
- In the game
BOOL IS_PLAYER_DEAD(Player player)- Hash
0x424D4687FA1E5652