22.10.2012, 22:47
Remove
and put
near the top of your script.
Change
to
Change
to
pawn Код:
new Float:PosX, Float:PosY, Float:PosZ, Float:PosA;
pawn Код:
new Float: playersSavedPosition[MAX_PLAYERS][4];
Change
pawn Код:
GetPlayerPos(playerid, PosX, PosY, PosZ);
GetPlayerFacingAngle(playerid, PosA);
pawn Код:
GetPlayerPos(playerid, playersSavedPosition[playerid][0], playersSavedPosition[playerid][1], playersSavedPosition[playerid][2]);
GetPlayerFacingAngle(playerid, playersSavedPosition[playerid][3]);
Change
pawn Код:
SetPlayerPos(playerid, PosX, PosY, PosZ);
SetPlayerFacingAngle(playerid, PosA);
pawn Код:
SetPlayerPos(playerid, playersSavedPosition[playerid][0], playersSavedPosition[playerid][1], playersSavedPosition[playerid][2]);
SetPlayerFacingAngle(playerid, playersSavedPosition[playerid][3]);