Bug again?
#1

Made a dialog that should be shown a couple seconds after the player spawns but it doesn't show for no reason.

Timer:
Код:
SetTimerEx("TaisFreeze", 2500, false, "i", playerid);
Dialog:
Код:
forward TaisFreeze(playerid);
public TaisFreeze(playerid)
{
	new string1[128];
	strins(string1, "first half long writing bla bla", 0);
	strcat(string1, "other half of long writing bla bla bla");
	
	ShowPlayerDialog(playerid, 1012, DIALOG_STYLE_MSGBOX, "{FF0000}Rules", string1, "Good", "");
	return 1;
}
• Dialog is Defined
• Dialog still won't show if I don't use any strings there, just write a normal text
Reply
#2

Try this
Код:
forward TaisFreeze(playerid);
public TaisFreeze(playerid)
{
	new string1[128];
	string1 = "text";
	strcat(string1, "text");
	ShowPlayerDialog(playerid, 1012, DIALOG_STYLE_MSGBOX, "{FF0000}Rules", string1, "Good", "");
	return 1;
}
Reply
#3

Quote:
Originally Posted by lucamsx
Посмотреть сообщение
Try this
Код:
forward TaisFreeze(playerid);
public TaisFreeze(playerid)
{
	new string1[128];
	string1 = "text";
	strcat(string1, "text");
	ShowPlayerDialog(playerid, 1012, DIALOG_STYLE_MSGBOX, "{FF0000}Rules", string1, "Good", "");
	return 1;
}
Still nothing, i dunno why
Reply
#4

Where do you start the timer?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)