SA-MP Forums Archive
Dialog is to small - 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 is to small (/showthread.php?tid=516024)



Dialog is to small - lulo356 - 29.05.2014

Well, i maked my ban message in a dialog, but the dialog is to small..



pawn Код:
format(string, sizeof(string), "Dear %s you have been banned by %s\nReason for the ban %s\nYou can make a unban apply on the forum\nPress F8 to make a screenshot\nSincerely %s Divoro Staff Team", RPN(playerb), RPN(playerid), params, RPN(playerid));
    ShowPlayerDialog(playerb, 5406, DIALOG_STYLE_MSGBOX, "Divoro Roleplay Ban", string, "Close", "");



Re: Dialog is to small - ]Rafaellos[ - 29.05.2014

It beacuse your string's size is too small.


Re: Dialog is to small - lulo356 - 29.05.2014

Quote:
Originally Posted by ]Rafaellos[
Посмотреть сообщение
It beacuse your string's size is too small.
Ahha.... Thanks, should i change it to 528 or somting..


Re: Dialog is to small - NaClchemistryK - 29.05.2014

Yes. change it to a higher value


Re: Dialog is to small - Threshold - 29.05.2014

'285' would be the best option.