27.07.2009, 05:26
Код:
if(cpid == cp1) { Entered[playerid] = 1; SetPlayerPos(playerid,373.825653,-117.270904,1001.499511); SetPlayerInterior(playerid, 5); } if(cpid == cp2) { Entered[playerid] = 2; SetPlayerPos(playerid,373.825653,-117.270904,1001.499511); SetPlayerInterior(playerid, 5); } if(cpid == cp3) { if (Entered[playerid] == 1) SetPlayerPos(playerid,-1809.8419,942.8087,24.8677); SetPlayerInterior(playerid, 0); if (Entered[playerid] == 2) SetPlayerPos(playerid,-1719.8334,1356.2742,7.1875); SetPlayerInterior(playerid, 2); }
with
Код:
new Entered[MAX_PLAYERS];