Hi need a little direction to a model problem, the models download correctly from the server but dont show up in game.
Code:
public plugin_precache()
{
// Precache models
precache_model("models/steamsucks/STRIKE-A.mdl")
precache_model("models/steamsucks/Urban.mdl")
return PLUGIN_CONTINUE
}
public plugin_init(){
...
register_event("ResetHUD", "resetModel", "be")
}
public resetModel(id) {
new usermodel[33]
cs_get_user_model(id, usermodel, 32)
if(cs_get_user_team(id) == CS_TEAM_CT)
{
client_print( id, print_chat, "The humans are a virus eradicate them !" )
set_user_armor(id,250)
set_user_health(id,175)
set_user_maxspeed(id,Float:300)
entity_set_model (id,"models/steamsucks/STRIKE-A.mdl")
//cs_set_user_model(id, "Urban")
}
...
return PLUGIN_CONTINUE
}//end function
is there any reason why the model will not show in game i have also tried cs_set_user_model as well to no avail,
regards....