Help for Dialog
#1

y have created a bank rob System, now when a player start's robbing bank with /robbank and to the player show's dialog for the code and when a player types the codes of the Vault,after 30secundes show's him again the dialog ? why
, y have created a timer in the command /robbank....
Reply
#2

Give us the command...
And man, it's not 'y have ...', is 'I have...'
Reply
#3

............
Reply
#4

pawn Код:
if(strcmp(cmd,"/hakiraj", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        /*if(!PlayerToPoint(5,playerid,2316.6187,-15.3269,26.7422))
        {
            SendClientMessage(playerid, COLOR_WHITE, "{FF4040}GRESKA:{FFFFFF}Ne ste vo Bankata.");
            return 1;
        }*/

        if(PlayerInfo[playerid][pRank] == 5) return SendClientMessage(playerid, BELA,"{FF4040}GRESKA:{FFFFFF}Ne ste 5 Rank.");
       
        SendClientMessage(playerid, BELA,"{37F906}INFO:{FFFFFF}Presmetajte gi slednive Sifri,Dodeka Sistemot se Provaluva...");
        format(string, sizeof(string), "SEF SIFRA: 25*25-15+5+10-5+5");
        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);

        SetTimer("BankRob",30000,0);

        format(string, 256, "BANKA ALARM - Grabezot e Zapocnat !!!",sendername);

        SendTeamMessage(1, COLOR_YELLOW, string);
        SendTeamMessage(2, COLOR_YELLOW, string);
        SendTeamMessage(3, COLOR_YELLOW, string);
        SendTeamMessage(1, COLOR_YELLOW, string);
        SendTeamMessage(2, COLOR_YELLOW, string);
        SendTeamMessage(3, COLOR_YELLOW, string);
        SendTeamMessage(1, COLOR_YELLOW, string);
        SendTeamMessage(2, COLOR_YELLOW, string);
        SendTeamMessage(3, COLOR_YELLOW, string);
    }
   
    return 1;
}
SetTimer repeat was set to true instead of false...
Reply
#5

Thanks, LOCK !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)