10.04.2012, 18:49
hey fellas, i'v made a bank account, which gives you random password and saves, everything works fine
Only when i enter the pass in the Dialog, it says it's incorrect idk why.
here's the dialog
Only when i enter the pass in the Dialog, it says it's incorrect idk why.
here's the dialog
Код:
switch( dialogid ) { case DIALOG_BANKACCOUNT: { if( response ) { new Baccount; if(Baccount == PlayerInfo[playerid][pBaccount]) { ShowPlayerDialog( playerid, DIALOG_BANK, DIALOG_STYLE_LIST, "{FFFFFF}Bank", "Balance \nWithdraw \nDeposit", "Ok", "Close" ); } else { SendClientMessage(playerid,COLOR_GREY,"Wrong password!"); } return 1; } }