not so random, random spawns :)
#4

Code:
new rand = random(sizeof(randspawn));
  SetPlayerPos(playerid,randspawn[rand][0],randspawn[rand][1],randspawn[rand][2]);
  SetPlayerFacingAngle(playerid,randspawn[rand][3]);
  return 1;
If im not mistaken that will pick a random x,y,z and angle.. Thats not what i want i want it to pick one of the sets of co-ords at random i hope u get me.


Edit: i dont want it in OnPlayerSpawn its a command spawn
Reply


Messages In This Thread
not so random, random spawns :) - by iggy1 - 21.05.2010, 07:38
Re: not so random, random spawns :) - by cessil - 21.05.2010, 07:43
Re: not so random, random spawns :) - by iJumbo - 21.05.2010, 07:46
Re: not so random, random spawns :) - by iggy1 - 21.05.2010, 07:52
Re: not so random, random spawns :) - by Cank - 26.05.2010, 11:35
Re: not so random, random spawns :) - by Joe_ - 26.05.2010, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)