27.04.2018, 16:45
I am creating a stylish message box but are having a problem with PlayerTextDrawTextSize.
What i want to achieve with this is that the text goes to the next line below the current text.
This works fine, when i use this:
But when i use a string, or in this case i have:
ShowUserMessageBoxUI(playerid, title[], message[])
It does not work. The text does not go to the next line.
I have also tried formatting another string something like :
But also with no result. How can i fix this?
What i want to achieve with this is that the text goes to the next line below the current text.
This works fine, when i use this:
PHP код:
PlayerInfoUITD6[playerid] = CreatePlayerTextDraw(playerid, 190.000000, 165.096282, "Some text here");
ShowUserMessageBoxUI(playerid, title[], message[])
PHP код:
PlayerInfoUITD6[playerid] = CreatePlayerTextDraw(playerid, 190.000000, 165.096282, message);
I have also tried formatting another string something like :
PHP код:
format(msgstr, sizeof(msgstr), "%s", message);