function isPlayerDead (client-side)
Available since version: 0.0.1
The function is used to check whether player/npc is dead.
Declaration
bool|null isPlayerDead(int id)
Parameters
intid: the player id.
Returns bool|null
true when player is dead, otherwise false or null if player isn't spawned.