can someone tell me what to change here in this part of the plugin
PHP Code:
public plugin_precache()
{
precache_model("models/player/vip/vip.mdl")
precache_model("models/player/vip/vip.mdl")
return PLUGIN_CONTINUE
}
public resetModel(id, level, cid)
{
if (get_user_flags(id) & ADMIN_LEVEL_E)
{
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
}
because when i add my model which is
http://www.gamebanana.com/skins/101584
i doesnt load it i have the same old model, i want
to insert this in my plugin so dont send me any players model
plugins or stuff like that, i no one knows how to do that then
just make mi a plugin that uses this model for CT or T.
And can someone test it because when it wont work i dont know how to explain it.
Thanks in Advance