Quote:
Originally Posted by RedRobster
You didn't show us the right part of the code, I don't think. 
|
PHP Code:
public resetModel(id, level, cid) {
new CsTeams:Team = cs_get_user_team(id) 85Line
if(Team == CS_TEAM_CT) {
switch(random_num(1, 3))
{
case 1: cs_set_user_model(id, "model1");
case 2: cs_set_user_model(id, "model2");
case 3: cs_set_user_model(id, "model3");
}
}
else if(Team == CS_TEAM_T){
cs_reset_user_model(id)
}
return PLUGIN_CONTINUE
}