cs_set_user_armor

Синтаксис

native cs_set_user_armor(index, armorvalue, CsArmorType:armortype);

Употреба

index
Client index
armorvalue
Amount of armor to set
armortype
CS armor type

Описание

Sets the client's armor value the type of armor.

Забележка

For a list of possible armor types see the CsArmorType enum.

Забележка

Sends the appropriate message to update the client's HUD.

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

Тази функция няма връщаща стойност.

Грешка

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error
will be thrown.