Warnings
#1

pawn Код:
if(zones[current_zone][zone_name] == zones[162][zone_name])
        {
            if(JHBurgerShotRobbedRecently >= 1)
            {
                SendClientMessage(playerid,COLOR_ERROR,"The Juniper Hollow Burger Shot has been robbed recently.");
                return 1;
            }
            if(rrand <= 30)
            {
                SendClientMessage(playerid,COLOR_ERROR,"Juniper Hollow Burger Shot robbery failed.");
                JHBurgerShotRobbedRecently =320;
                return 1;
            }
            JHBurgerShotRobbedRecently =320;
            RobbingJHBurgerShot[playerid] =25;
            IncreaseWantedLevel(playerid,4);
            IncreasePlayerScore(playerid,1);
LINE 9317   SetProgressBarValue(playerid,RobbingJHBurgerShot[playerid]);
LINE 9318   ShowProgressBarForPlayer(playerid,RobbingJHBurgerShot[playerid]);

            format(string,sizeof(string),"~p~~n~~n~~n~~n~Robbing JuniperHollow BurgerShot.~n~~r~Finish Robbery in: %d seconds.",RobbingJHBurgerShot[playerid]);
            GameTextForPlayer(playerid,string,3000,3);

            format(string,sizeof(string),"[POLICE RADIO] Suspect %s(%d) has begun to rob the Juniper Hollow Burger Shot! Get To Burger Shot and arrest the suspect.",PlayerName(playerid),playerid);
            SendClientMessageToAllCops(string);

            format(string,sizeof(string),"[ROBBERY] %s(%d) has begun a robbery at Burger Shot ..",PlayerName(playerid),playerid);
            SendClientMessageToAll(COLOR_RED,string);

            format(string,sizeof(string),"4[ROBBERY] %s(%d) has begun a robbery at Burger Shot ..",PlayerName(playerid),playerid);
            IRC_GroupSay(gGroupID,IRC_CHANNEL,string);
            return 1;
        }
Warnings :
pawn Код:
C:\Users\Bing\Desktop\Started\gamemodes\process.pwn(9317) : warning 213: tag mismatch
C:\Users\Bing\Desktop\Started\gamemodes\process.pwn(9318) : warning 213: tag mismatch
Why do I get these warnings? How can I fix them?
Hope someone would help me,
Thanks.
Reply


Messages In This Thread
Warnings - by rakshith122 - 18.01.2014, 06:38
Re: Warnings - by iOxide - 18.01.2014, 06:46
Re: Warnings - by rakshith122 - 18.01.2014, 06:55
Re: Warnings - by iOxide - 18.01.2014, 10:12
Re: Warnings - by Konstantinos - 18.01.2014, 10:18
Re: Warnings - by rakshith122 - 18.01.2014, 11:36

Forum Jump:


Users browsing this thread: 1 Guest(s)