Random Spawns.. [fixed]
#2

Put this under public OnPlayerSpawn(playerid)


Код:
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]);
I'm not that good at scripting but that "should" work for your zombie team.
Reply


Messages In This Thread
Random Spawns.. [fixed] - by Lorenc_ - 14.02.2010, 03:08
Re: Random Spawns.. - by ruckfules99 - 14.02.2010, 03:28
Re: Random Spawns.. - by Lorenc_ - 14.02.2010, 03:32

Forum Jump:


Users browsing this thread: 2 Guest(s)