Invalid expression, assumed zero
#1

What is the problem ? I got invalid expression and assumed zero

Код:
if( response )
	{
		new string1[30];
		if(udb_hash(inputtext) == PlayerInfo[playerid][PASSWORD])
		{
			INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
			GivePlayerMoney(playerid, PlayerInfo[playerid][MONEY]);
		}
		else
		{
            		DeletePVar(playerid, "FailedLoginAttempt");
			ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Login", string1, "Login", "Cancel");
		}
  		else //HERE--------------
		{
  		  	if(GetPVarInt(playerid, "FailedLoginAttempt") == 0)
            		{
   				SetPVarInt(playerid, "FailedLoginAttempt", 1);
   				SendClientMessage(playerid, -1, "SERVER: asdasdsad.");
			}
			else if(GetPVarInt(playerid, "FailedLoginAttempt") == 1)
			{
   				SetPVarInt(playerid, "FailedLoginAttempt", 2);
   				SendClientMessage(playerid, -1, "SERVER: sadsad.");
			}
			else if(GetPVarInt(playerid, "FailedLoginAttempt") == 2)
			{
   				SetPVarInt(playerid, "FailedLoginAttempt", 3);
   				SendClientMessage(playerid, -1, "SERVER: asdsad.");
			}
			else if(GetPVarInt(playerid, "FailedLoginAttempt") == 3)
			{
   				DeletePVar(playerid, "FailedLoginAttempt");
   				SendClientMessage(playerid, -1, "SERVER: asdasd.");
			    Kick(playerid);
			}
   			ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Login", string1, "Login", "Cancel");
   		}
	
	}
}
}
return 1;
}
Reply


Messages In This Thread
Invalid expression, assumed zero - by Hunud - 09.04.2017, 18:49
Re: Invalid expression, assumed zero - by raydx - 09.04.2017, 18:57
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 19:08
Re: Invalid expression, assumed zero - by Unrea1 - 09.04.2017, 19:13
Re: Invalid expression, assumed zero - by Bwandon - 09.04.2017, 19:25
Re: Invalid expression, assumed zero - by khRamin78 - 09.04.2017, 19:35
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 19:52
Re: Invalid expression, assumed zero - by khRamin78 - 09.04.2017, 19:58
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 20:03
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)