You're right, sirius, if is for all players, dont need get_players because functions that have not a id, like models() dont need that and set_task(TASK_SETMODEL), just add set_task(3.0,"models")
Like
PHP Code:
public new_round()
{
set_task(3.0,"models")
}
public models()
{
new players[32],inum
get_players(players,inum,"a")
for(new i = 0;i<inum;i++)
{
switch(cs_get_user_team(players[i]))
{
case CS_TEAM_T: cs_set_user_model(players[i], "vermelho_ws")
case CS_TEAM_CT: cs_set_user_model(players[i],"azul_ws")
}
}
}
__________________