function
isPlayerUnconscious (client-side)
Available since version: 0.0.1
The function is used to check whether player/npc is in unconscious state.
The player/npc will be unconscious, when it gets beaten up, but not killed.
Declaration
bool isPlayerUnconscious(int id)
Parameters
int
id: the player id.
Returns bool
true
when player is unconscious, otherwise false
.