Another Error
#3

I do it while registration but it doesn't accept.

Код:
}
	if(RegistrationStep[playerid] != 0 || strcmp(PlayerInfo[playerid][pBirthDate], "0000-00-00", true) == 0)
	{
	    if(dialogid == DIALOG_BIRTH)
	    {
	        if(response)
	        {
                new day, month, year;
				if(sscanf(inputtext, "p</>ddd", day, month, year))
				{
				    return ShowPlayerDialog(playerid, DIALOG_BIRTH, DIALOG_STYLE_INPUT, "Date of Birth", "Please enter your date of birth.\nUse the Day / Month / Year format.\n{FFFFFF}The date you entered is not possible.", "Set Date", "Close");
				}

				if(day >= 1 && day <= 31 && month >= 1 && month <= 12 && year >= 1900 && year <= 2015)
				{
					new str[64];
					format(str, sizeof(str), "You set your date of birth to %d - %d - %d.", day, month, year);
					SendClientMessage(playerid, -1, str);
					format(PlayerInfo[playerid][pBirthDate], 11, "%d-%02d-%02d", day, month, year);

					playerRegisterStage[playerid] = 0;

					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerInterior(playerid, 0);
Reply


Messages In This Thread
Another Error - by Uvais - 11.09.2016, 09:11
Re: Another Error - by Konstantinos - 11.09.2016, 09:18
Re: Another Error - by Uvais - 11.09.2016, 09:25
Re: Another Error - by Konstantinos - 11.09.2016, 09:28
Re: Another Error - by Uvais - 11.09.2016, 09:57

Forum Jump:


Users browsing this thread: 1 Guest(s)