搜索
查看: 1555|回复: 3

请教给头盔的问题............

[复制链接]
发表于 2008-9-8 22:31:08 | 显示全部楼层 |阅读模式 来自 广西百色
这是给护甲的set_user_armor ( id , 100 );
那给头盔的写法.............请帮忙..............
发表于 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
回复

使用道具 举报

发表于 2008-9-9 16:53:45 | 显示全部楼层 来自 广东中山

回复: 请教给头盔的问题............

似乎没有只给头盔的函数,不过有这样的插件,如果你有兴趣可以去官网论坛看看。
回复

使用道具 举报

发表于 2008-9-9 17:22:09 | 显示全部楼层 来自 浙江温州

回复: 请教给头盔的问题............

cs_set_user_armor(id,100,CS_ARMOR_VESTHELM)
带头盔了。
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表