Do you guys no what is the problem
#1

Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0,1869.8599,-2493.2256,13.5547)
                    {
                    Island[Los_Santos][playerid] = SetPlayerFlightCheckpoint(playerid, 1869.8599,-2493.2256,13.5547, 10.0);
                    IslandName="Los Santos";
					}
                   else if(IsPlayerInRangeOfPoint(playerid, 20.0,-1437.0648,48.4609,14.1484)
				    {
                    Island[San_Fierro][playerid] = SetPlayerFlightCheckpoint(playerid, -1437.0648,48.4609,14.1484, 10.0);
                    IslandName="San Fierro";
				    }
                    else if(IsPlayerInRangeOfPoint(playerid, 20.0,1476.5433,1465.9758,10.8281)
				    {
                    Island[Las_Venturas][playerid]=SetPlayerFlightCheckpoint(playerid, 1476.5433,1465.9758,10.8281, 10.0);
                    IslandName="Las Venturas";
					}

                    


                FirstAPName[playerid] = IslandName;
                format(szString, 128, "Go to %s to pick up the passengers!", IslandName);

        WorkTimer[playerid] = SetTimerEx("WorkingMinutes", 60000, true, "i", playerid);
                SendClientMessage(playerid, COLOR_LIGHTGREEN, szString);
                return 1;
        }



Quote:

C:\GAME\PilotFlying(SAA)\gamemodes\Thelifeofpilots 2.pwn(140 : error 001: expected token: ")", but found "{"
C:\GAME\PilotFlying(SAA)\gamemodes\Thelifeofpilots 2.pwn(1413) : error 001: expected token: ")", but found "{"
C:\GAME\PilotFlying(SAA)\gamemodes\Thelifeofpilots 2.pwn(141 : error 001: expected token: ")", but found "{"

Reply
#2

PHP код:
                    if(IsPlayerInRangeOfPoint(playerid20.0,1869.8599,-2493.2256,13.5547)
                    {
                    
Island[Los_Santos][playerid] = SetPlayerFlightCheckpoint(playerid1869.8599,-2493.2256,13.554710.0);
                    
IslandName="Los Santos";
                    }
                    else if(
IsPlayerInRangeOfPoint(playerid20.0,-1437.0648,48.4609,14.1484)
                    {
                    
Island[San_Fierro][playerid] = SetPlayerFlightCheckpoint(playerid, -1437.0648,48.4609,14.148410.0);
                    
IslandName="San Fierro";
                    }
                    else if(
IsPlayerInRangeOfPoint(playerid20.0,1476.5433,1465.9758,10.8281)
                    {
                    
Island[Las_Venturas][playerid]=SetPlayerFlightCheckpoint(playerid1476.5433,1465.9758,10.828110.0);
                    
IslandName="Las Venturas";
                    }
                    
FirstAPName[playerid] = IslandName;
                    
format(szString128"Go to %s to pick up the passengers!"IslandName);
                    
WorkTimer[playerid] = SetTimerEx("WorkingMinutes"60000true"i"playerid);
                    
SendClientMessage(playeridCOLOR_LIGHTGREENszString); 
Reply
#3

Try this:

Pawn
Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0,1869.8599,-2493.2256,13.5547))
{
          Island[Los_Santos][playerid] = SetPlayerFlightCheckpoint(playerid, 1869.8599,-2493.2256,13.5547, 10.0);
          IslandName="Los Santos";
}
else if(IsPlayerInRangeOfPoint(playerid, 20.0,-1437.0648,48.4609,14.1484))
{
          Island[San_Fierro][playerid] = SetPlayerFlightCheckpoint(playerid, -1437.0648,48.4609,14.1484, 10.0);
          IslandName="San Fierro";
}
else if(IsPlayerInRangeOfPoint(playerid, 20.0,1476.5433,1465.9758,10.8281))
{
          Island[Las_Venturas][playerid]=SetPlayerFlightCheckpoint(playerid, 1476.5433,1465.9758,10.8281, 10.0);
          IslandName="Las Venturas";
}
          FirstAPName[playerid] = IslandName;
          format(szString, 128, "Go to %s to pick up the passengers!", IslandName);

          WorkTimer[playerid] = SetTimerEx("WorkingMinutes", 60000, true, "i", playerid);
          SendClientMessage(playerid, COLOR_LIGHTGREEN, szString);
          return 1;
}
Reply
#4

thanks Dr...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)