03.11.2015, 09:30
Hello, this problem comes randomly and im not getting it...
Imagine you join server, type your password and script say's its wrong (3 Times you can enter password).. you reconnect, type it again and you enter...
This happens randomly...
Its Yini + Whirpool il'l give you login dialog for example.
Il'l cut script to be easier to read.
Imagine you join server, type your password and script say's its wrong (3 Times you can enter password).. you reconnect, type it again and you enter...
This happens randomly...
Its Yini + Whirpool il'l give you login dialog for example.
Il'l cut script to be easier to read.
Код:
case DIALOG_LOGIN: { if(response) { new hashpass[129]; WP_Hash(hashpass,sizeof(hashpass),inputtext); if(!strcmp(hashpass, PlayerInfo[playerid][pPassword], false)) { //IF Password is good, login part } else { //if miss 3 times part when kick's him.. } } else Kick(playerid); }