OnPlayerDeath [Debug]
#4

Get the positions that the player must spawn and put them on OnPlayerSpawn.

PHP код:
new RandomPos[][]=
{
//my positions
};
public 
OnPlayerSpawn(playerid)
{
      new 
randpos random(RandomPos[]);
      
SetPlayerPos(playeridrandpos[]);
      
//rest of your code
     
return 1;

This is a example of random places to spawn,you can put directly the position vars without the random var if you want.
Reply


Messages In This Thread
OnPlayerDeath [Debug] - by nezo2001 - 23.01.2015, 10:56
Re: OnPlayerDeath [Debug] - by JonathanFeitosa - 23.01.2015, 11:23
Re: OnPlayerDeath [Debug] - by nezo2001 - 23.01.2015, 13:08
Re: OnPlayerDeath [Debug] - by Detoria - 23.01.2015, 13:32
Re: OnPlayerDeath [Debug] - by nezo2001 - 23.01.2015, 13:55

Forum Jump:


Users browsing this thread: 1 Guest(s)