14.02.2010, 03:28
Put this under public OnPlayerSpawn(playerid)
I'm not that good at scripting but that "should" work for your zombie team.
Код:
if (gTeam[playerid] == TEAM_ZOMBIE){ //ADD YOUR OWN gTEAM HERE new rnd; SetPlayerFacingAngle(playerid, 88.6658); rnd = random(sizeof (ZombieSpawn)); SetPlayerPos(playerid, ZombieSpawn[rnd][0], ZombieSpawn[rnd][1], ZombieSpawn[rnd][2]);