Skip to content

function isPlayerUnconscious (server-side)

Available since version: 0.0.1

The function is used to check whether player is in unconscious state. The player will be unconscious, when it gets beaten up, but not killed.


bool isPlayerUnconscious(int id)


  • int id: the player id.

Returns bool

true when player is unconscious, otherwise false.