Dialogs not showing.
#5

Код:
public OnAccountCheck(playerid)
{
	new rows, fields;
	cache_get_data(rows, fields, dbHandle);
	if(rows)
	{
		ServerMSG(playerid, "Please enter the password that you have registered with.");
		SetPlayerToLogin(playerid);
	}
	else
	{
		//Send registration dialog
		ServerMSG(playerid, "To register, enter the password that you would like to have in mind.");
		SetIntVar(playerid, "RegisterPart", 1);
		format(msg, sizeof(msg), ""EMBED_WHITE"Welcome, "EMBED_LIGHTBLUE"%s\n"EMBED_WHITE"Visit www.ig-rp.my.vg\nHint: %s\n\n		Enter your password", GetName(playerid), RandomHint());
		Dialog_Show(playerid, Register, DIALOG_STYLE_INPUT, ""EMBED_YELLOW"IG:RP"EMBED_WHITE"", msg, "Register", "Quit");
		//Send registration dialog
	}
	return 1;
the red color:
is ShowPlayerDialog right? not Dialog_Show..
Reply


Messages In This Thread
Dialog problem! (+rep) - by NickMirra - 16.08.2015, 22:20
Re: Dialogs not showing. - by NickMirra - 16.08.2015, 22:59
Re: Dialogs not showing. - by NickMirra - 17.08.2015, 02:09
Re: Dialogs not showing. - by fahlevy - 17.08.2015, 02:24
Re: Dialogs not showing. - by fahlevy - 17.08.2015, 02:26

Forum Jump:


Users browsing this thread: 1 Guest(s)