dialog formatting
#1

hello again and my name is anykey

how could i format these one?

massive:
Код:
new hdia[][] = {
	{"{CBCBCB}#\t{6289DB}Настройка\t{CBCBCB}Параметр\t{CBCBCB} \n"},

	{"{CBCBCB}1\t{6289DB}Никнейм:\t{CBCBCB}kleet\t{CBCBCB}ИЗМЕНИТЬ\n"},
	{"{CBCBCB}2\t{6289DB}Цвет ника:\t{CBCBCB}0x6289DBFF\t{CBCBCB}ИЗМЕНИТЬ\n"},
	{"{CBCBCB}3\t{6289DB}Внешность:\t{CBCBCB}%d\t{CBCBCB}ИЗМЕНИТЬ\n"},
	{"{CBCBCB}4\t{6289DB}Комната:\t{CBCBCB}СТАНДАРТ\t{CBCBCB}ИЗМЕНИТЬ\n"},
	{"{CBCBCB}5\t{6289DB}Модератор:\t{CBCBCB}НЕТ\t{CBCBCB}-\n"},
	{"{CBCBCB}6\t{6289DB}СВЯЗЬ С АДМИНИСТРАЦИЕЙ\t{CBCBCB}/report\t{CBCBCB} \n"},
	{"{CBCBCB}7\t{CBCBCB}Дата:\t{CBCBCB}2018/1/19\t{CBCBCB}18:24\n"}

};
@public

Код:
        new helps[600];
  		for(new i; i < sizeof(gencmd); i++)
  		{
    		strcat(helps, gencmd[i]);
			ShowPlayerDialog(playerid, 3, 5, "{6289DB}СПИСОК ФУНКЦИОНАЛА СЕРВЕРА {F0F0F0}: Heatwave Project", helps, "Выбор", "");
		}
if I just format it:
Код:
        new helps[600];
  		for(new i; i < sizeof(gencmd); i++)
  		{
SOME FORMAT
    		strcat(helps, gencmd[i]);
			ShowPlayerDialog(playerid, 3, 5, "{6289DB}СПИСОК ФУНКЦИОНАЛА СЕРВЕРА {F0F0F0}: Heatwave Project", helps, "Выбор", "");
		}
	return 1;
ingame result: https://i.imgur.com/u7W0PgG.jpg

PLS help me
Reply


Messages In This Thread
dialog formatting - by rhash - 19.01.2018, 18:54
Re: dialog formatting - by DeathCore - 19.01.2018, 19:43
Re: dialog formatting - by rhash - 19.01.2018, 21:21
Re: dialog formatting - by Dayrion - 20.01.2018, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)