#1

why isn't working the input ?
y typed other numbers of pPinKod and isn't working, if my pinkod is 2222 and me type 1111, succes is why ?
how to create on the pPinKod, if the player haves pPinKod 2222 to enter only 2222 and other to kick him ?
Код:
  if(dialogid == 136)
  {
		if(response)
        {
         {
         if(strval(inputtext) == PlayerInfo[playerid][pPinKod])
         {
           SendClientMessage(playerid,COLOR_WHITE,"INFO:Uspesno se logiravte na Admin Panelot.");
         }
		if(PlayerInfo[playerid][pAdmin] >= 1337)
		{
		   SendClientMessage(playerid, COLOR_RED, "HELLO :) ");
           //ShowPlayerDialog(playerid, 137, DIALOG_STYLE_INPUT,"Head Panel","Vnesete go Pinot na Head Panelot!","Ok","Izlezi");
        }
        else
        {
           SendClientMessage(playerid,COLOR_GREY,"GRESKA:Pogresna lozinka.");
		   Kick(playerid);
           return 1;
        }
     }
   }
}
Reply


Messages In This Thread
Help - by 3RoR - 13.04.2012, 14:43
Re: Help - by zSuYaNw - 13.04.2012, 14:51
Re: Help - by 3RoR - 13.04.2012, 14:54
Re: Help - by zSuYaNw - 13.04.2012, 14:56
Re: Help - by 3RoR - 13.04.2012, 14:59
Re: Help - by Ricop522 - 13.04.2012, 15:00
Re: Help - by 3RoR - 13.04.2012, 15:03
Re: Help - by zSuYaNw - 13.04.2012, 15:07
Re: Help - by Ricop522 - 13.04.2012, 15:08
Re: Help - by 3RoR - 13.04.2012, 16:14

Forum Jump:


Users browsing this thread: 3 Guest(s)