Login Attempts System
#1

....
Reply
#2

Probably because you already increment the variable before they've even put their password.
Reply
#3

....
Reply
#4

....
Reply
#5

Why so when they join? it should be 0 when they join , first attempt when they put the incorrect password , you may increase the value of attempts..
So at on player connect
pawn Код:
LoginAttempts[playerid] = 0;
Try this.
Reply
#6

....
Reply
#7

Doesn't matter. You only need to increase the variable AFTER they've put in their (wrong) password, but BEFORE you show the dialog.
Reply
#8

....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)