get_user_health

Syntax

native get_user_health(index);

Usage

index
Client index

Description

Returns the client's health points.

Note

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

Return

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