Dialogs with strcat
#1

Код:
YCMD:test(playerid,params[],help)
{
    new szDialog[700];
    strcat(szDialog, "{8585C2}Event Name\t{8585C2}Event Type\t{8585C2}Current Votes");
    strcat(szDialog, "\n{008000}Terrorists vs Counter Terrorists\t {800080}TDM\t{FF8000}%d Votes", EventVoteType[0]);
    strcat(szDialog, "\n{008000}I the Conquer\t {800080}DM\t{FF8000}%d Votes",EventVoteType[1]);
    strcat(szDialog, "\n{008000}Don't let them take it!\t {800080}TDM\t{FF8000}%d Votes",EventVoteType[2]);
    
	ShowPlayerDialog(playerid, DIALOG_EVENT, DIALOG_STYLE_TABLIST_HEADERS, "{0080FF}Vote for your favorite event", szDialog, "Next", "Close");
	return 1;
}
It shows the dialog but not the list things, why not?
Reply


Messages In This Thread
Dialogs with strcat - by Lajko1 - 11.05.2016, 16:33
Re: Dialogs with strcat - by F1N4L - 11.05.2016, 16:37
Re: Dialogs with strcat - by Bolex_ - 11.05.2016, 16:38
Re: Dialogs with strcat - by KevinReinke - 11.05.2016, 16:39
Re: Dialogs with strcat - by Lajko1 - 11.05.2016, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)