26.03.2010, 15:13
pawn Код:
new Float:LastCPPos[MAX_PLAYERS][3];
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
GetPlayerPos(playerid, LastCPPos[playerid][0], LastCPPos[playerid][1], LastCPPos[playerid][2]);
return 1;
}
pawn Код:
SetPlayerPos(playerid, LastCPPos[playerid][0], LastCPPos[playerid][1], LastCPPos[playerid][2]);