26.08.2016, 18:22
This is a dialog style that was added in 0.3.7. It's called "DIALOG_STYLE_TABLIST". You can read more about it here: https://sampwiki.blast.hk/wiki/Dialog_Styles
Basically, you are creating a message box that has both columns and rows. \n creates a new row, \t creates a new tab (or indentation / column).
This dialog would have looked similar to this:
Eventually your compiler will get angry with you when you exceed a certain length, so you're better off creating a large string and using 'strcat' for each line. Note that you cannot have more than 4 columns, so don't use more than 4 "\t"s on a single line.
An example can also be found on the Dialog Styles wiki page, with pictures included.
Basically, you are creating a message box that has both columns and rows. \n creates a new row, \t creates a new tab (or indentation / column).
This dialog would have looked similar to this:
PHP код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_TABLIST, "Help Center: General Help",
"{FFFF00}Command\tHelp\n\
{00FF00}/shout\t{FFFFFF}Ability to reach more persons with your character's voice\n\
{00FF00}/me\t{FFFFFF}Ability to describe your character's movements in depth\n\
etc.",
"Next", "Close");
An example can also be found on the Dialog Styles wiki page, with pictures included.

