PlayerTextDrawSetString dont display full string
#1

Код:
PlayerTextDrawSetString(playerid, TDD[playerid], "- Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word~n~ WORD WORD Word Word Word Word Word Word Word Word Word~n~ Word Word Word Word Word Word Word Word Word WORD ");
How it displays :
http://i.imgur.com/FZ8Qbaw.png (string is up to second ~n~ for some reason)

I tagged words that were cut off

Код:
PlayerTextDrawSetString(playerid, TDD[playerid],"- Word Word Word Word Word Word. Word Word Word Word Word Word Word Word Word Word Word~n~ Word Word Word Word Word Word Word Word Word Word. ~n~Word Word Word Word Word Word Word Word Word Word WORD.~n~ Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word");
How it displays :
http://i.imgur.com/SSOQI2w.png (nothing is cut off(as it should be))


Textdraw TDD :
Код:
TDD[playerid] = CreatePlayerTextDraw(playerid, 320.000000, 340.444427, "");
PlayerTextDrawLetterSize(playerid, TDD[playerid], 0.288500, 1.622667);
PlayerTextDrawAlignment(playerid, TDD[playerid], 2);
PlayerTextDrawColor(playerid, TDD[playerid], -1);
PlayerTextDrawSetShadow(playerid, TDD[playerid], 0);
PlayerTextDrawSetOutline(playerid, TDD[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, TDD[playerid], 51);
PlayerTextDrawFont(playerid, TDD[playerid], 1);
PlayerTextDrawSetProportional(playerid, TDD[playerid], 1);
Why does string gets cut and how do I prevent it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)