Help -
BlackEvils - 04.03.2016
how i must put this code for show 2 lines?
format(str, sizeof(str), "Command\tDescription\tPlaying\n\
{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)", count);
{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)", count);
ShowPlayerDialog(playerid, DIALOG_DMS, DIALOG_STYLE_TABLIST_HEADERS, "Deathmatch", str, "Select", "Close");
Re: Help -
xEF - 04.03.2016
What you mean?
Re: Help -
oMa37 - 04.03.2016
Thats what i understood ..
PHP код:
format(str, sizeof(str), "Command\nDescription\nPlaying\n
{ffffff}minigun\n{F7FF00}Minigun Deathmatch\n{0099FF}(%d players)", count);
Re: Help -
BlackEvils - 06.03.2016
Quote:
Originally Posted by oMa37
Thats what i understood ..
PHP код:
format(str, sizeof(str), "Command\nDescription\nPlaying\n
{ffffff}minigun\n{F7FF00}Minigun Deathmatch\n{0099FF}(%d players)", count);
|
how i put more lines formats?
Re: Help -
CalvinC - 07.03.2016
Put \n at the end.
"Line1\n
Line2\n
Line3"
and so on
Re: Help -
BlackEvils - 07.03.2016
Quote:
Originally Posted by CalvinC
Put \n at the end.
"Line1\n
Line2\n
Line3"
and so on
|
new str[128];
format(str, sizeof(str), "Command\tDescription\tPlaying\n\
{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)", minigundmcount);\n
{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)", mrfdmcount);"
ShowPlayerDialog(playerid, DIALOG_DMS, DIALOG_STYLE_TABLIST_HEADERS, "Deathmatch", str, "Select", "Close");
I have errors not work
Re: Help -
MicroKyrr - 07.03.2016
We are not FBI (Federal Bureau of Investigation) or Magician. Please tell us the error. Anyway,
PHP код:
format(str, sizeof(str), "Command\tDescription\tPlaying\n\
{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)\n{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)", minigundmcount, mrfdmcount)
ShowPlayerDialog(playerid, DIALOG_DMS, DIALOG_STYLE_TABLIST_HEADERS, "Deathmatch", str, "Select", "Close");
Re: Help -
BlackEvils - 07.03.2016
Quote:
Originally Posted by MicroKyrr
We are not FBI (Federal Bureau of Investigation) or Magician. Please tell us the error. Anyway,
PHP код:
format(str, sizeof(str), "Command\tDescription\tPlaying\n\
{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)\n{ffffff}/minigun\t{F7FF00}Minigun Deathmatch\t{0099FF}(%d players)", minigundmcount, mrfdmcount)
ShowPlayerDialog(playerid, DIALOG_DMS, DIALOG_STYLE_TABLIST_HEADERS, "Deathmatch", str, "Select", "Close");
|
Thx you