SA-MP Forums Archive
Dialog Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog Problem (/showthread.php?tid=427436)



Dialog Problem - lsreskjn - 01.04.2013

Hey all, I have a little problem with my dialog, it§s not big enough to fit all the text in it.

The code is:

Код:
public OnPlayerConnect(playerid)
{
    new dialog[256];
	strcat(dialog,"Pravidlб serveru:\n\nЋiadny Spam\nЋiadne Cheaty\nЋiadny Flood\nЋiadny Rasizmus\nЋiadne Nadбvky\n\n");
	strcat(dialog,"Info o Mode:\nTento server bol vytvorenэ pre testovanie novэch veci.\nTento server mб zariadenэ FunkBuster, tento AntiCheat patrн medzi");
	strcat(dialog,"najlepљi z najlepљнch\na nepotrebuje prнtomnost admina.\nFunkBuster obsahuje:\nMoney Hack\n Weapon Hack\nAmmo Hack\nTeleports\nAitbreak\nSpeedhack\n Health Hack (GodMode)\n Armor Hack\n Vehicle Spawner");
	ShowPlayerDialog(playerid,125,DIALOG_STYLE_MSGBOX,"kjn's Test Server",dialog,"Sign", "Decline");
	return 1;
}
and it looks like this on the server: http://m1.aimg.sk/forig/f_440235144_...7723ecd0ed.jpg

Is there any way to make the dialog bigger so i can write much more about the server? rules, info etc?


Re: Dialog Problem - brawrr - 01.04.2013

Try change new dialog[256]; to new dialog[350];


Re: Dialog Problem - Isolated - 01.04.2013

change the dialog style to DIALOG_STYLE_LIST