Pawno Crash
#1

Everytime I compile, my pawno crashes due to:

Код:
	if(dialogid == 1) // Login
	{
 		if (!response) return Kick(playerid);

		if(response)
  		{
    		if(udb_hash(inputtext) == PlayerInfo[playerid][Pass])
    		{
      			INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

				format(string, sizeof(string), "SERVER:{FFFFFF} Welcome back, %s! You last logged in at %d/%d/%d %d:%d:%d.", pname, PlayerInfo[playerid][lvDay], PlayerInfo[playerid][lvMonth], PlayerInfo[playerid][lvYear], PlayerInfo[playerid][lvHour], PlayerInfo[playerid][lvMinute], PlayerInfo[playerid][lvSecond]);
				SendClientMessage(playerid, 0x46E850FF, string);

				Logged[playerid] = true;
				else
				{
					ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "{FFFFFF}You have entered an {C44B4B}incorrect{FFFFFF} password.\nType your password below to login.", "Login", "Quit");
				}
				PlayerInfo[playerid][Gender];
				PlayerInfo[playerid][Age];
				if(!PlayerInfo[playerid][Gender] || !PlayerInfo[playerid][Age])
				{
					ShowDialog(playerid, 3);
				}
			}
		}
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)