gate password not working
#3

pawn Код:
if(dialogid == NEWSGATEMENU)//if dont work
    {
        if(!response)
        {
            SendClientMessage(playerid, error, " Okay Access Denied Have a Nice Day!");
        }
        if(strcmp(inputtext, NEWSGATE_PASSWORD, false))
        {
            SendClientMessage(playerid, error, "Invalid Passcode");
            ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Security Gate", "One More Chance, Please Punch In Your Passcode", "Open", "Cancel");
        }
        else
        {
            if(newsgate == 1) { SendClientMessage(playerid, error, "**  Security Gate is Allready Opened"); return 1; }
            MoveDynamicObject(newsgate1,769.52178955078, -1384.7537841797, 14.225526809692, 0.97); // to open the gate
            SetTimer("GateClose", 12000, 0); /// timer to close in 7 seconds
            SendClientMessage(playerid, normal,"Security Gate will close in 7 seconds.");
            PlayerPlaySound(playerid, 1153, 1589.053344,-1638.123168,14.122960);
            newsgate = 1;
        }
    }
Reply


Messages In This Thread
gate password not working - by yarrum3 - 13.12.2010, 03:05
Re: gate password not working - by [WF]Demon - 13.12.2010, 08:02
Re: gate password not working - by SuperS82 - 13.12.2010, 08:03
Re: gate password not working - by [WF]Demon - 13.12.2010, 08:06
Re: gate password not working - by SuperS82 - 13.12.2010, 08:11
Re: gate password not working - by Voldemort - 13.12.2010, 08:24
Re: gate password not working - by yarrum3 - 13.12.2010, 08:45
Re: gate password not working - by Scenario - 13.12.2010, 09:41

Forum Jump:


Users browsing this thread: 1 Guest(s)