Team DM making
#3

pawn Code:
// Somewhere on top:

new Float:RandomSpawns[][4] =
{
  {1149.4291,-1429.8828,15.3614,52.2603},
  {1026.6274,-1433.8682,13.1203,91.8695},
  {962.1809,-1423.8031,13.1172,357.8417},
  {849.1421,-1550.4485,13.0394,86.1815},
  {785.0523,-1801.6473,12.5928,357.9707},
  {847.9305,-2001.2405,12.4358,3.8983},
  {1081.6740,-1810.1718,13.1895,358.8075},
  {1055.8663,-1609.9991,13.1982,93.5496},
};
Change the coordinates to your own!

And then when they type /dmzone for example, you can do this:

pawn Code:
new RandSpawn;
RandSpawn = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[RandSpawn][0], RandomSpawns[RandSpawn][1], RandomSpawns[RandSpawn][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[RandSpawn][3]);
Reply


Messages In This Thread
Team DM making - by Dominiks - 09.07.2009, 11:57
Re: Team DM making - by Anarkien - 09.07.2009, 11:59
Re: Team DM making - by -Sneaky- - 09.07.2009, 12:02
Re: Team DM making - by Lorenzo9Oz - 21.07.2012, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)