IsPlayerDead
Whether the player’s health is 0 and they wait for the respawn.
Syntax
Section titled “Syntax”IsPlayerDead(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”local function standing(pid) return IsPlayerInWorld(pid) and not IsPlayerDead(pid) endSee also
Section titled “See also”GetPlayerHealth · OnPlayerDeath · SpawnPlayer · the Vitals, stats and skills group of the index
