|
发表于 2007-11-5 16:34:36
|
显示全部楼层
来自 中国–广东–佛山–禅城区
回复: 服装插件。在线=
Post by mininice
// check if model is actually there
new modelfile[64];
format(modelfile,63,"models/player/mm/%s/%s.mdl",output,output);
如何能在这句代码中加入对警察和土匪的判断,比如是警察则路径是一个,如果是土匪,则路径
又是另一个。?在线等! - new CsTeams:userTeam = cs_get_user_team(id)
复制代码- if (userTeam == CS_TEAM_T)
- cs_set_user_model(id, "mmt")
- else if(userTeam == CS_TEAM_CT)
- cs_set_user_model(id, "mmct")
- else
- cs_reset_user_model(id)
复制代码 |
|