native

set_user_health

Syntax

native set_user_health(index, health);

Description

Sets player's health amount.

Parameters

index Client index
health The health amount to set

Return

This function has no return value.

Error

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