26 Errors
#1

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{  
     if(
GetVehicleModel(GetPlayerVehicleID(playerid)) == 609)
     {
     if(
IsPlayerInRangeOfPoint(playerid7.0ClothesPoint1))
     {
        
TogglePlayerControllable(playerid0);
        
SetTimerEx("Loading"50000"i"playerid);
          
GameTextForPlayer(playerid"~g~Loading the goods please wait"30005);
        
SetPlayerCheckpoint(playeridClothesPoint27.0);
     }
     if(
IsPlayerInRangeOfPoint(playerid7.0ClothesPoint2))
     {
        
TogglePlayerControllable(playerid0);
        
SetTimerEx("Trader"50000"i"playerid);
        
GameTextForPlayer(playerid"~g~Clearing the goods please wait"30005);
        
DisablePlayerCheckpoint(playerid);
        
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
     }
     if(
GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
     {
     if(
IsPlayerInRangeOfPoint(playerid7.0GunsPoint1))
     {
        
TogglePlayerControllable(playerid0);
        
SetTimerEx("LoadingGuns"50000"i"playerid);
          
GameTextForPlayer(playerid"~g~Loading the goods please wait"30005);
        
SetPlayerCheckpoint(playeridGunsPoint27.0);
     }
     if(
IsPlayerInRangeOfPoint(playerid7.0GunsPoint2))
     {
        
TogglePlayerControllable(playerid0);
        
SetTimerEx("Guns"50000"i"playerid);
        
GameTextForPlayer(playerid"~g~Clearing the goods please wait"30005);
        
DisablePlayerCheckpoint(playerid);
        
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
      }
  }
}
it gives 26 errors i reallycant see any missing brackets help please 
Reply


Messages In This Thread
26 Errors - by BOyka1 - 03.01.2019, 21:07
Re: 26 Errors - by BOyka1 - 03.01.2019, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)