|
发表于 2008-9-8 22:42:32
|
显示全部楼层
来自 中国–广东–中山
回复: 请教给头盔的问题............
cs_set_user_armor - Sets player armor
Syntax:
cs_set_user_armor ( index, armorvalue, CsArmorType:armortype )
Type:
Native
Notes:
Use this instead of fun's set_user_armor if playing Counter-Strike. Appropriate message to update client's HUD will be sent if armortype is kevlar or vesthelm.
The following armor types are available:
CS_ARMOR_NONE = 0, // no armor
CS_ARMOR_KEVLAR = 1, // armor
CS_ARMOR_VESTHELM = 2 // armor and helmet |
|