Checkpoint issue.
#9

I'm using INC files, store.inc and dialog.inc "DIALOG_FUELSTATION" is in dialog.inc, this is the place where i script in dialooges, aswell store ill just add dialooges right?
What i need is that it would pop up a dialog if i enter to checkpoint while im in vehicle.

I got this, and still it wont pop up a dialog.
PHP код:
if(checkpointid == GM[fuelstationCP] && !found)
        {
        if(
IsPlayerInAnyVehicle(playerid))  
            {       
            
Player[playerid][enteredCP] = GetTickCount();
            
ShowPlayerDialog(playeridDIALOG_FUELSTATIONDIALOG_STYLE_LIST"Fuel station""Repair vehicle"CHAT_YELLOW"""Go""Cancel");
            
found true;
            }
            else
            {
                
Server(playerid"You must be inside vehicle to use this checkpoint");
            }
        } 
Reply


Messages In This Thread
Checkpoint issue. - by Frank901 - 09.09.2016, 13:25
Re: Checkpoint issue. - by IceBilizard - 09.09.2016, 13:27
Re: Checkpoint issue. - by Frank901 - 09.09.2016, 13:42
Re: Checkpoint issue. - by SyS - 09.09.2016, 13:45
Re: Checkpoint issue. - by Frank901 - 09.09.2016, 13:50
Re: Checkpoint issue. - by SyS - 09.09.2016, 13:52
Re: Checkpoint issue. - by Frank901 - 09.09.2016, 13:55
Re: Checkpoint issue. - by SyS - 09.09.2016, 14:07
Re: Checkpoint issue. - by Frank901 - 09.09.2016, 14:10
Re: Checkpoint issue. - by Frank901 - 09.09.2016, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)