password query
#1

hi, i am trying to make a password query. but i doesn't work why and why "int" is an undefined symbol?
can someone fix that or just a tip, please?
pawn Код:
if(dialogid == 1)
  {
    int password = "test";
    int input = StrToInt(inputtext);
   
    if(response == 1)
    {
      if(input == password) SendClientMessage(playerid, 0xFFFFFFFF, "Get a Cookie!");
      else SendClientMessage(playerid, 0xFFFFFFFF, "No Cookie");
    }
   
    else SendClientMessage(playerid, 0xFFFFFFFF, "Exit");
    return 1;
  }
How can I compare two datatypes in samp 0.3?
Reply


Messages In This Thread
password query - by nesty - 06.12.2009, 00:21
Re: password query - by Correlli - 06.12.2009, 00:22
Re: password query - by nesty - 06.12.2009, 00:34

Forum Jump:


Users browsing this thread: 3 Guest(s)