PlayerTextDrawTextSize string problem
#5

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
bump. how to fix it?
Only when using a string it does not goes to the following line:
Код:
PlayerTextDrawSetString(playerid, CharacterCreationTD24[playerid], string);
while this works:
Код:
PlayerTextDrawSetString(playerid, CharacterCreationTD24[playerid], "text");
Код:
PlayerTextDrawTextSize(playerid, CharacterCreationTD24[playerid], 300.000000, 5.0);
First of all is the TextDraw's alignment set to center (2)?

If yes you must switch X and Y parameters in PlayerTextDrawTextSize (Y will be width and X height).

If not you must adjust Y to allow the text to break. Toggle the box visible to see the exact dimensions of the TextDraw so you can see how big it actually is.
Reply


Messages In This Thread
PlayerTextDrawTextSize string problem - by jasperschellekens - 27.04.2018, 16:45
Re: PlayerTextDrawTextSize string problem - by CrystalGamer - 27.04.2018, 19:10
Re: PlayerTextDrawTextSize string problem - by jasperschellekens - 29.04.2018, 17:18
Re: PlayerTextDrawTextSize string problem - by jasperschellekens - 01.05.2018, 12:17
Re: PlayerTextDrawTextSize string problem - by NaS - 01.05.2018, 14:29
Re: PlayerTextDrawTextSize string problem - by jasperschellekens - 01.05.2018, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)