AMX Mod X API Documentation

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

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

Notes
  • For a list of possible armor types see the CsArmorType enum.
  • Sends the appropriate message to update the client's HUD.
Parameters
  • index Client index
  • armorvalue Amount of armor to set
  • armortype CS armor type
No return value
Errors
  • If the client index is not within the range of 1 to

    MaxClients, or the client is not connected, an error

    will be thrown.

Назад
Верх