09.09.2016, 13:25
Hello SA-MP Community!
I got a issue with checkpoint, what im trying to make is a checkpoint where pops up a dialooges etc to repair vehicle and so on, and somehow when i enter go to checkpoint with vehicle (inside that checkpoint) it wont pop up a dialog for me, but when i walk in it will
Code:
Where can be the problem?
I got a issue with checkpoint, what im trying to make is a checkpoint where pops up a dialooges etc to repair vehicle and so on, and somehow when i enter go to checkpoint with vehicle (inside that checkpoint) it wont pop up a dialog for me, but when i walk in it will
Code:
Код:
if(checkpointid == GM[fuelstationCP] && !found) { if(!IsPlayerInAnyVehicle(playerid)) { Player[playerid][enteredCP] = GetTickCount(); ShowPlayerDialog(playerid, DIALOG_FUELSTATION, DIALOG_STYLE_LIST, "Fuel station", "Repair vehicle"CHAT_YELLOW"", "Buy", "Cancel"); found = true; } else { Server(playerid, "You must be inside vehicle to use this checkpoint"); } }