How to fix these warnings?
#5

You forgot to close a line.

pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 10.0, 2102.71, -103.97, 2.28)) // Matrun 3
    {
        new vehicle = GetPlayerVehicleID(playerid);
        if(IsABoat(vehicle))
        {
            if(GetPVarInt(playerid, "Packages") >= 10) return SendClientMessageEx(playerid, COLOR_GRAD2, "something"); // this line

            if(PlayerInfo[playerid][pDonateRank] == 1)
            {
                if(GetPlayerCash(playerid) > 1124)
                {
                    SendClientMessageEx(playerid, COLOR_GREY," something!");
                    return 1;
                }
                GivePlayerCash(playerid, -1125);
                SetPVarInt(playerid, "Packages", 23);
                SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"something");
                SendClientMessageEx(playerid, COLOR_YELLOW,"something.");
            }
            else if(PlayerInfo[playerid][pDonateRank] == 2 || PlayerInfo[playerid][pDonateRank] == 3)
            {
                   if(GetPlayerCash(playerid) > 1499)
                {
                    SendClientMessageEx(playerid, COLOR_GREY," something!");
                    return 1;
                }
                GivePlayerCash(playerid, -1500);
                SetPVarInt(playerid, "Packages", 30);
                SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"* something.");
                SendClientMessageEx(playerid, COLOR_YELLOW,"something.");
            }
            else if(PlayerInfo[playerid][pDonateRank] >= 4)
            {
                if(GetPlayerCash(playerid) < 1875)
                {
                    SendClientMessageEx(playerid, COLOR_GREY," something!");
                    return 1;
                }
                GivePlayerCash(playerid, -1875);
                SetPVarInt(playerid, "Packages", 38);
                SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"somethin.");
                SendClientMessageEx(playerid, COLOR_YELLOW,"something.");
            }
            else
            {
                if(GetPlayerCash(playerid) < 750)
                {
                    SendClientMessageEx(playerid, COLOR_GREY," something!");
                    return 1;
                }
                GivePlayerCash(playerid, -750);
                SetPVarInt(playerid, "Packages", 15);
                SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"something");
            }

            SendClientMessageEx(playerid, COLOR_WHITE, "something.");
            SetPVarInt(playerid, "MatDeliver", 333);
            SetPVarInt(playerid, "tpMatRunTimer", 15);
            SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPMATRUNTIMER);
            SetPlayerCheckpoint(playerid, -330.44, -467.54, 0.85, 5);
            return 1;
        }
         else
        {
            SendClientMessageEx(playerid, COLOR_GREY," something");
        }
        return 1;
    }
Reply


Messages In This Thread
How to fix these warnings? - by Rohan_Ubhare - 12.05.2012, 11:25
Re: How to fix these warnings? - by D-12 - 12.05.2012, 11:28
Re: How to fix these warnings? - by iGetty - 12.05.2012, 11:30
Re: How to fix these warnings? - by Rohan_Ubhare - 12.05.2012, 11:35
Re: How to fix these warnings? - by Pinguinn - 12.05.2012, 11:37
Re: How to fix these warnings? - by Rohan_Ubhare - 12.05.2012, 11:40
Re: How to fix these warnings? - by AndreT - 12.05.2012, 11:53
Re: How to fix these warnings? - by RedWingz - 12.05.2012, 13:07
Re: How to fix these warnings? - by Rohan_Ubhare - 13.05.2012, 06:34
Re: How to fix these warnings? - by Faisal_khan - 13.05.2012, 06:52

Forum Jump:


Users browsing this thread: 1 Guest(s)