Robbery Countdown
#3

Nope..
Take a look at this..
pawn Код:
if(getCheckpointType(playerid) == CP_BincoMain)
    {
        if(zones[current_zone][zone_name] == zones[161][zone_name])
        {
            if(JHBincoRobbedRecently >= 1)
            {
                SendClientMessage(playerid,COLOR_ERROR,"The Juniper Hill Binco has been robbed recently.");
                return 1;
            }
            if(rrand <= 30)
            {
                SendClientMessage(playerid,COLOR_ERROR,"Juniper Hill Binco robbery failed.");
                JHBincoRobbedRecently =320;
                return 1;
            }
            JHBincoRobbedRecently =320;
            RobbingJHBinco[playerid] =25;
            IncreaseWantedLevel(playerid,4);
            IncreasePlayerScore(playerid,1);
        FROM HERE  format(string,sizeof(string),"Robbing Binco.\nFinish Robbery in: %d seconds.\nPolice are on the way.",RobbingJHBinco[playerid]);
            ShowPlayerDialog(playerid,DIALOG_BINCO,DIALOG_STYLE_MSGBOX,"{FF0000}Binco Robbery",string,"Ok","Cancel"); TO HERE

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

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

            format(string,sizeof(string),"4[ROBBERY] %s(%d) has begun a robbery at Binco ..",PlayerName(playerid),playerid);
            IRC_GroupSay(gGroupID,IRC_CHANNEL,string);
            return 1;
        }
        return 1;
    }
Its a code for robbing BINCO, JUNIPER HOLLOW.
I need to make that dialog thing as a textdraw.
Reply


Messages In This Thread
Robbery Countdown - by rakshith122 - 15.01.2014, 12:31
Re: Robbery Countdown - by Omar55555 - 15.01.2014, 12:35
Re: Robbery Countdown - by rakshith122 - 15.01.2014, 12:43
Re: Robbery Countdown - by rakshith122 - 15.01.2014, 13:38

Forum Jump:


Users browsing this thread: 3 Guest(s)