Serious problem
#1

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

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;
}

Please help
Reply


Messages In This Thread
Serious problem - by Swiftz - 19.01.2011, 12:41
Re: Serious problem - by Haydz - 19.01.2011, 12:43
Re: Serious problem - by Swiftz - 19.01.2011, 12:47
Re: Serious problem - by Haydz - 19.01.2011, 12:49
Re: Serious problem - by armyoftwo - 19.01.2011, 13:29

Forum Jump:


Users browsing this thread: 3 Guest(s)