898285111 发表于 2008-3-2 03:09:15

还是OP/VIP皮肤问题

声明下本人想要的是AMX1.5的OP/VIP皮肤,点通上有AMXX默认的OP/VIP皮肤就是没有AMX的,版主能帮下忙吗``
源码
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
public plugin_init() {
register_plugin("AMX Admin Model", "1.1.1", "whitemike")
register_event("ResetHUD", "resetModel", "b")
return PLUGIN_CONTINUE
}
public plugin_precache() {
precache_model("models/player/vip/vip.mdl")

return PLUGIN_CONTINUE
}
public resetModel(id, level, cid) {
if (get_user_flags(id) & ADMIN_IMMUNITY) {
new CsTeams:userTeam = cs_get_user_team(id)
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "vip")
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "vip")
}
else {
cs_reset_user_model(id)
}
}
return PLUGIN_CONTINUE

感动鱼 发表于 2009-7-6 19:44:48

学习中,点通高手云集哦!我也在关注这个问题,不知道有高手出来解答下吗?{:3_53:}

Zero0senven 发表于 2009-9-6 14:01:16

不懂....
页: [1]
查看完整版本: 还是OP/VIP皮肤问题