07.01.2011, 15:35
So, it's else fail, or what? Because in script are:
So, the player will be kicked if he entered bad password 3 times.
pawn Код:
SetPVarInt( playerid, "BadLogins", GetPVarInt( playerid, "BadLogins" ) + 1 );
new
Stringas[ 145 ]
;
format( Stringas, 145, ""#h_Raudona"The inputted "#h_Balta"password is BAD.\n"#h_Zalia"Try again. "#h_Raudona"You can try to login: "#h_Geltona"%d times", 3 - GetPVarInt( playerid, "BadLogins" ) );
ShowPlayerDialog( playerid, 4, DIALOG_STYLE_INPUT, ""#h_Geltona"Prisi"#h_Zalia"jun"#h_Raudona"gimas", Stringas, "Login", "Leave" );

