get_user_health

Синтаксис

native get_user_health(index);

Употреба

index
Client index

Описание

Returns the client's health points.

Забележка

While this is mod-independent, the mod may track health points
differently, so it can only be retrieved using another native or other
methods.

Връщаща стойност

Amount of health points the client has. Also returns 0 if
the client is not connected or the index is not within the
range of 1 to MaxClients