SA-MP Forums Archive
Text size - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Text size (/showthread.php?tid=124417)



Text size - deather - 30.01.2010

How to add long texts in strings?


Re: Text size - MadeMan - 30.01.2010

You need to explain a bit better.


Re: Text size - deather - 30.01.2010

I need to enter a long text. I mean string[256]is not enough. What to do. Also can i add two string in ShowPlayerDialog cmd

i mean
ShowPlayerDialog(playerid, dialogid, style, "cap",string1,string2,"Select", "Cancel");

i want to know whether that string1, string2 is accepted!!


Re: Text size - Rac3r - 30.01.2010

I think dialog stings are limited to 256 characters. Just shortcut to another dialog if it's not long enough.

Код:
ShowPlayerDialog(playerid, DIALOG_BMWEATHER1, DIALOG_STYLE_LIST, HEADER_STRING, OPTIONS_STRING, TEXT_SET, TEXT_CANCEL);
Or even edit the options:
Colour Select\nTime Select
Colour\nTime

For example.


Re: Text size - MadeMan - 30.01.2010

If string[256] is not enough then make it string[512] or string[1024], depends how much you need.