MySQL_Static
#5

Code:
public OnPlayerAttemptLogin2(playerid)
{
	new rows, fields;
	cache_get_data(rows, fields, dbHandle);
	if(rows)
	{
		format(msg, sizeof(msg), "Welcome to Molotov Roleplay Gaming, %s\nThis user was found in our database, please enter your password below to login.\n\nYou have 60 seconds to login.", GetName(playerid));
		ShowDialog(playerid, Show:<Login>, DIALOG_STYLE_INPUT, ""EMBED_YELLOW"Molotov Roleplay Gaming Login"EMBED_WHITE"", msg, "Login", "Quit");
		LoginTimer{playerid} = SetTimerEx("CheckPlayerLogged", 60000, 0, "i", playerid);
	}
	else
	{
		ShowDialog(playerid, Show:<ConfirmWord>, DIALOG_STYLE_INPUT, ""EMBED_RED"Secret word confirmation"EMBED_WHITE"", ""EMBED_WHITE"The IP you are using is not the same for\nthis account, please enter the secret word of the player.", "Okay", "Exit");
	}
}
Reply


Messages In This Thread
MySQL_Static - by Tony$$ - 22.11.2014, 12:08
Re: MySQL_Static - by Tony$$ - 22.11.2014, 12:23
Re: MySQL_Static - by Tony$$ - 22.11.2014, 13:50
Re: MySQL_Static - by Ryz - 22.11.2014, 15:19
Re: MySQL_Static - by Tony$$ - 22.11.2014, 23:09
Re: MySQL_Static - by Tony$$ - 23.11.2014, 15:12
Re: MySQL_Static - by Ryz - 23.11.2014, 15:36
Re: MySQL_Static - by Tony$$ - 23.11.2014, 17:19
Re: MySQL_Static - by Tony$$ - 23.11.2014, 20:00
Re: MySQL_Static - by MD5 - 23.11.2014, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)