06.06.2010, 21:40
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:
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"
This gives two errors:
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
Other error is:
pawn Код:
{
new BankSavePass[128] = inputtext;
BankData[playerid][bLogged] = true;
SendClientMessage(playerid,COLOR_YELLOW,"You have logged into a bank account");
}
This is the "another location"
pawn Код:
format(string,128,"UPDATE `bank` SET `Amount`='%s' WHERE `Password`='%s'",inputtext,BankSavePass);
Код:
error 017: undefined symbol "BankSavePass"
pawn Код:
{
//Not both codes are here
}
Код:
must be a constant expression; assumed zero