Getting coords
#10

Couldn't be easier.
pawn Код:
switch(SpawnType[playerid])
{
     case 0:
     {
          // When the player dies
     }
     case 1:
     {
          // Should probably add interior and virtual world here too.
          SetPlayerPos(playerid, PlayerInfo[playerid][X1],PlayerInfo[playerid][Y1],PlayerInfo[playerid][Z1]);
     }
     case 2:
     {
          SetPlayerPos(playerid, x, y, z); // Change this to the newbiespawn.
     }
}
Reply


Messages In This Thread
Getting coords - by Anthonyx3' - 30.12.2010, 02:59
Re: Getting coords - by _rAped - 30.12.2010, 03:02
Re: Getting coords - by Anthonyx3' - 30.12.2010, 03:05
Re: Getting coords - by _rAped - 30.12.2010, 03:08
Re: Getting coords - by Anthonyx3' - 30.12.2010, 03:10
Re: Getting coords - by Anthonyx3' - 30.12.2010, 03:40
Re: Getting coords - by _rAped - 30.12.2010, 03:48
Re: Getting coords - by Anthonyx3' - 30.12.2010, 04:02
Re: Getting coords - by Anthonyx3' - 30.12.2010, 04:12
Re: Getting coords - by _rAped - 30.12.2010, 04:14

Forum Jump:


Users browsing this thread: 1 Guest(s)