03.09.2011, 12:22
pawn Code:
new Float:x, Float:y, Float:z;
...
GetPlayerPos(playerid, x,y,z);
...
SetPlayerPos(playerid, x,y,z);
Use this:
pawn Code:
new Float:positions[MAX_PLAYERS][3];
...
GetPlayerPos(playerid, positions[playerid][0], positions[playerid][1], positions[playerid][2]);
...
SetPlayerPos(playerid, positions[playerid][0], positions[playerid][1], positions[playerid][2]);