set_user_health

Syntax

native set_user_health(index, health);

Usage

index
Client index
health
The health amount to set

Description

Sets player's health amount

Return

This function has no return value.

Error

If player is not connected or not within the range
of 1 to MaxClients.