also, i have another problem.
skin "alqaeda" is a model for terrorist
if i have that model enabled when i'm terrorist. some players see me as a default counter-terrorist models.
I don't have the same problem as them and i don't know why this is happening. what should i do ? this is skincheck code
PHP Code:
public plugin_init() {
RegisterHam(Ham_Spawn, "player", "skincheck", 1)
}
public skincheck(id){
if(is_user_alive(id) && get_user_flags(id) & VIP_FLAG){
cs_reset_user_model(id)
if ( cs_get_user_team(id) == CS_TEAM_T ){
switch(checkT[id]){
case 1:{
cs_set_user_model(id, "isis")
checkPS[id] = 1
}
case 2:{
cs_set_user_model(id, "alqaeda")
checkPS[id] = 2
}
}
} else if( cs_get_user_team(id) == CS_TEAM_CT ){
switch(checkCT[id]){
case 1:{
cs_set_user_model(id, "fbi")
checkPS[id] = 3
}
case 2:{
cs_set_user_model(id, "sias")
checkPS[id] = 4
}
}
}
}
}