Save dialog input for later use?
#3

Well I don't think It will work, first of all, the new thing will only be in the select area like let me show you:

pawn Код:
{
          new BankSavePass[128] = inputtext;
            BankData[playerid][bLogged] = true;
            SendClientMessage(playerid,COLOR_YELLOW,"You have logged into a bank account");
        }
That's one of the parts of the script (this is the location where I want it stored from to the another location)

This is the "another location"
pawn Код:
format(string,128,"UPDATE `bank` SET `Amount`='%s' WHERE `Password`='%s'",inputtext,BankSavePass);
This gives two errors:
Код:
error 017: undefined symbol "BankSavePass"
Above: Reason is because they aren't in same uhm got no clue what they are called but I call them areas right now Like both codes aren't inside
pawn Код:
{
//Not both codes are here
}
Other error is:
Код:
must be a constant expression; assumed zero
Reply


Messages In This Thread
Save dialog input for later use? - by oliverrud - 06.06.2010, 21:29
Re: Save dialog input for later use? - by saiberfun - 06.06.2010, 21:32
Re: Save dialog input for later use? - by oliverrud - 06.06.2010, 21:40
Re: Save dialog input for later use? - by oliverrud - 06.06.2010, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)