All right I got it to choose a random person but how can i make it choose a team only like i only want cts to be random?? please help if you can
PHP Code:
public random_zombie()
{
if(get_pcvar_num(zlevel) > 19)
{
new players[32], totalplayers
get_players(players, totalplayers) //any way here i can make it choose ct only?
if (!neme)
neme = random_num(1, totalplayers)
superplayer(neme)
}
}