Obviously it only changes the model. A solution would be to create 2 Strings which will contain certain models from each team.
Code:
new const Human_Models[][] = {
"model1",
"model2"
}
new const Zombie_Models[][] = {
"zm_model1",
"zm_model2"
}
Then you'd set the model by doing this
Code:
set_user_info( id, "model", get_user_team( id ) ? ( Zombies_Models[ random( sizeof Zombies_Models ) ] ) : ( Human_Models[ random( sizeof Human_Models ) ] ) )
__________________