08.06.2011, 03:16
Tienes que hacerlo como yo te dije:
pawn Код:
new c1[MAX_PLAYERS];
new c2[MAX_PLAYERS];
public OnPlayerEnterCheckpoint(playerid)
{
if(c1[playerid])
{
DisablePlayerCheckpoint(playerid);
c2[playerid] = SetPlayerCheckpoint(playerid, 1952.4869,-1782.9430,13.3828,1.0);
MoveObject(puerta1,1951.6599121094, -1797.134, 14.057502746582, 5);
SetPlayerCheckpoint(playerid,1952.4869,-1782.9430,13.3828, 1.0);
}
else if(c2[playerid])
{
DisablePlayerCheckpoint(playerid);
MoveObject(puerta1,1951.6599121094, -1788.134, 14.057502746582, 5);
c1[playerid] = SetPlayerCheckpoint(playerid,1952.4869,-1782.9430,13.3828, 1.0);
SetPlayerCheckpoint(playerid,1952.4869,-1782.9430,13.3828, 1.0);
}
return 1;
}

