Skip to content

function isPlayerUnconscious (server-side)

Available since version: 0.3.0

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.

Declaration

boolean isPlayerUnconscious(number player_id)

Parameters

  • number player_id: Target player id.

Returns boolean

True when player is unconscious, otherwise false.