native

set_user_armor

Syntax

native set_user_armor(index, armor);

Description

Sets player's armor amount.

Parameters

index Client index
armor The armor 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.