23.04.2016, 14:44
Код:
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 ");
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");
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);