else if(newkeys == KEY_CROUCH) { if(IsPlayerInRangeOfPoint(56.9857,1218.4869,18.8676)) {//Benzinkút bejárat GameTextForPlayer(playerid, \"~w~NON-STOP\", 5000, 1); SetPlayerInterior(playerid, 4); SetPlayerPos(playerid,-28.2619,-26.2015,1003.5573); PlayerInfo[playerid][pInt] = 4; } else if(IsPlayerInRangeOfPoint(playerid,1, -28.0241,-31.7674,1003.5573)) {//Benzinkút kijárat GameTextForPlayer(playerid, \"~w~Fort Carson\", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,56.9827,1217.0092,18.8666); //OnPlayerExitFood(playerid); // ? PlayerInfo[playerid][pInt] = 0; } }
else if(newkeys == KEY_CROUCH) { if(IsPlayerInRangeOfPoint(playerid, 1, 56.9857,1218.4869,18.8676)) {//Benzinkút bejárat GameTextForPlayer(playerid, \"~w~NON-STOP\", 5000, 1); SetPlayerInterior(playerid, 4); SetPlayerPos(playerid,-28.2619,-26.2015,1003.5573); PlayerInfo[playerid][pInt] = 4; } else if(IsPlayerInRangeOfPoint(playerid, 1, -28.0241,-31.7674,1003.5573)) {//Benzinkút kijárat GameTextForPlayer(playerid, \"~w~Fort Carson\", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,56.9827,1217.0092,18.8666); //OnPlayerExitFood(playerid); // ? PlayerInfo[playerid][pInt] = 0; } }