30.09.2018, 04:48
Hi.
I created a value showing in dialog. It looks like this:
The problem is, that the text is not showing. Not even the new line.
When i type /budget, only thing, that shows up is one line, that says the amount budget, nothing else.
Where is the "fatal error" that will cure this?
For any help, I will be much more, then just thankful.
I created a value showing in dialog. It looks like this:
Код:
CMD:budget(playerid, params[])
{
new string[64], str[2048];
format(string, sizeof(string), "Budget amount: %d\n", Budget);
strcat(str, string);
strcat(str, "\n");
strcat(str, "text");
ShowPlayerDialog(playerid, DIALOG_BUDGET, DIALOG_STYLE_MSGBOX, "Budget info", string, "OK", "");
return 1;
}
When i type /budget, only thing, that shows up is one line, that says the amount budget, nothing else.
Where is the "fatal error" that will cure this?
For any help, I will be much more, then just thankful.

