- 听众
- 收听
- 积分
- 3894
- 主题
- 回帖
- 0
- 精华
注册时间2008-4-22
最后登录1970-1-1
该用户从未签到
|
发表于 2011-5-1 13:33:39
|
显示全部楼层
回复 badmonkey 的帖子
- public resetModel(id, level, cid) {
- if (!is_user_connected(id)) return PLUGIN_CONTINUE
- new flags = get_user_flags(id)
- new CsTeams:userTeam = cs_get_user_team(id)
复制代码- Syntax:
- is_user_connected ( index )
- Type:
- Native
- Notes:
- index is a player index from 1 to 32.
复制代码- get_user_flags - Gets flags from player. Set index to 0 if you want to read flags from server.
- Syntax
- get_user_flags ( index,id=0 )
- Type
- Native
- Notes
- index,is a player index from 1 to 32.
复制代码
具体详见:
- http://www.amxmodx.org/doc/index.html?page=source%2Ffunctions%2Fcore%2Fget_user_flags.htm
复制代码
|
|