18.01.2014, 06:38
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;
}
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
Hope someone would help me,
Thanks.