SA-MP Forums Archive
Dialog Resizing - 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: Dialog Resizing (/showthread.php?tid=162975)



Dialog Resizing - Dudits - 25.07.2010

Well, I've seen people having the exact same dialog but with different sizes.
How do they set the dialog size?


Re: Dialog Resizing - Shadow™ - 25.07.2010

Use formatting codes such as

\n for a new line
\t for tab = spacing width

there's a few more, wait.


Re: Dialog Resizing - Gamer_Z - 25.07.2010

only \r \n \t , no more.. at least i can't find.

BTW take a look at http://en.wikipedia.org/wiki/Control_character


Re: Dialog Resizing - Shadow™ - 25.07.2010

Quote:
Originally Posted by SA:MP Wiki
\0 NULL character Ends a string.
\n Line feed use \n for a new line in Linux (also works in Windows)
\r Carriage return Use \r\n for a new line in Windows
\\ Backslash Used to put an actual backslash in a string
\' Single quote Used to use an actual single quote as a character in single quotes (use: '\'')
\" Double quotes Used to put an actual double quote in a string
\xNNN; Hex number Used to set the character to the character represented by the hex number specified in place on NNN
\NNN; Number Used to set the character to the character represented by the number specified in place of NNN (see \0)

There are others but those are the main ones.
Taken from the SA:MP wiki: https://sampwiki.blast.hk/wiki/Scripting_Basics