Look i found a scirpting and edit little bit only name not the code it works but when next round some change the model not all
and next round again one player they was changed is normal and so other some times only 2 they changes soemtimes 70% of the peoples
The code is here:
Code:
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
public plugin_init() {
register_plugin("Simpsons EDIT", "1.1.1", "Fighter")
register_event("ResetHUD", "resetModel", "b")
return PLUGIN_CONTINUE
}
public plugin_precache() {
precache_model("models/player/ctfun/ctfun.mdl")
precache_model("models/player/tfun/tfun.mdl")
return PLUGIN_CONTINUE
}
public resetModel(id, level, cid) {
new CsTeams:userTeam = cs_get_user_team(id)
if(is_user_alive(id)) {
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "tfun")
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "ctfun")
}
else {
cs_reset_user_model(id)
}
}
return PLUGIN_CONTINUE
}
PS. i have place the
right place the proplem is all playrs do not changes :S¨
Please say if i ask too much