30.12.2010, 04:14
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.
}
}