19.01.2011, 12:41
Everytime i type a command which brings dialog it says you are already logged in, I have many dialogs in my script none of the dialogs work (they used to work before) only a text appears "you are already logged in "
I have this dialog how can i solve this problem
Please help
I have this dialog how can i solve this problem
Quote:
if(dialogid == 1) //LOGIN { if(gPlayerLogged[playerid] == 1) { SendClientMessage(playerid, COLOR_WHITE, "SERVER: You are already logged in."); return 1; } if(response) { if(!strlen(inputtext)) { DisplayDialogForPlayer(playerid, 1); //Login SendClientMessage(playerid, COLOR_WHITE, "SERVER: You must enter a password."); return 1; } if(strlen(inputtext) >= 50) { DisplayDialogForPlayer(playerid, 1); //Login SendClientMessage(playerid, COLOR_WHITE, "SERVER: Password is too long."); return 0; } |