help | spawn
#8

To do this you can create randomally spawns.
Something like this:
pawn Код:
new Float:randomSpawns[][3] =
{
  {0.0,0.0,0.0}, // spawn #1
  {0.0,0.0,0.0}, // spawn #2
  {0.0,0.0,0.0}, // spawn #3
  {0.0,0.0,0.0} // spawn #4
};
public OnPlayerSpawn(playerid)
{
  new r = random(sizeof(randomSpawns));
  SetPlayerPos(playerid,randomSpawns[r][0],randomSpawns[r][1],randomSpawns[r][2]);
  return 1;
}
Reply


Messages In This Thread
help | spawn - by rong13 - 26.09.2009, 08:25
Re: help | spawn - by brett7 - 26.09.2009, 08:46
Re: help | spawn - by rong13 - 26.09.2009, 09:27
Re: help | spawn - by Correlli - 26.09.2009, 09:29
Re: help | spawn - by rong13 - 26.09.2009, 09:38
Re: help | spawn - by Correlli - 26.09.2009, 09:41
Re: help | spawn - by rong13 - 26.09.2009, 10:04
Re: help | spawn - by Amit_B - 26.09.2009, 10:40
Re: help | spawn - by rong13 - 26.09.2009, 10:52
Re: help | spawn - by Amit_B - 26.09.2009, 10:56

Forum Jump:


Users browsing this thread: 1 Guest(s)