cs_get_user_armor

Синтаксис

native cs_get_user_armor(index, &CsArmorType:armortype = CS_ARMOR_NONE);

Употреба

index
Client index
armortype
Variable to store armor type in

Описание

Returns the client's armor value and retrieves the type of armor.

Забележка

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

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

Amount of armor, 0 if client has no armor

Грешка

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