14.06.2011, 22:14
pawn Код:
enum _PINFO
{ Float:pLastX,
Float:pLastY,
Float:pLastZ
}
new PVar[MAX_PLAYERS][_PINFO];
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
plastX = x;
plastY = y;
plastZ = z;
under OnPlayerSpawn
pawn Код:
//some sort of check if the player has been on the server before
SetPlayerPos(playerid,plastX,plastY,plastZ);