Different spawn
#8

pawn Код:
new spawn[4] = { // you will just create new spawn's for each teams with different position's.
    cords,
    cords1,
    cords2,
    cords3,
};
new Teamspawn[2] = { // TEAM SPAWN...
    cords,
    cords1,
};

public OnPlayerSpawn(playerid)
{
   SetPlayerPos(playerid,spawn[random(sizeof(spawn)]);
}
//if you wish to teams..
   
public OnPlayerSpawn(playerid)
{
   if(gTeam == 1) // this can be different in your gm...
   {
      SetPlayerPos(playerid,Teamspawn[random(sizeof(Teamspawn)]);
   }
   // and so on...
}
Reply


Messages In This Thread
Different spawn - by CrazyChoco - 10.06.2012, 08:26
AW: Different spawn - by Extremo - 10.06.2012, 08:28
Re: Different spawn - by CrazyChoco - 10.06.2012, 08:29
Re: Different spawn - by CrazyChoco - 10.06.2012, 08:36
Re: Different spawn - by StrangeLove - 10.06.2012, 09:28
Re: Different spawn - by CrazyChoco - 10.06.2012, 09:38
Re: Different spawn - by CrazyChoco - 10.06.2012, 14:41
Re: Different spawn - by leonardo1434 - 10.06.2012, 14:53
Re: Different spawn - by CrazyChoco - 10.06.2012, 15:43
Re: Different spawn - by CrazyChoco - 10.06.2012, 15:50

Forum Jump:


Users browsing this thread: 3 Guest(s)