Skip to content

function isPlayerDead (client-side)

Available since version: 0.0.1

The function is used to check whether player/npc is dead.

Declaration

bool isPlayerDead(int id)

Parameters

  • int id: the player id.

Returns bool

true when player is dead, otherwise false.