Checkpoint issue.
#2

PHP код:
if(checkpointid == GM[fuelstationCP] && !found)
        {
        if(
IsPlayerInAnyVehicle(playerid))//Here was the problem
            
{       
            
Player[playerid][enteredCP] = GetTickCount();
            
ShowPlayerDialog(playeridDIALOG_FUELSTATIONDIALOG_STYLE_LIST"Fuel station""Repair vehicle"CHAT_YELLOW"""Buy""Cancel");
            
found true;
            }
            else
            {
                
Server(playerid"You must be inside vehicle to use this checkpoint");
            }
        } 
PHP код:
if(!IsPlayerInAnyVehicle(playerid)) //Means if player is not in any vehicle 
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: 2 Guest(s)