06.01.2016, 18:38
So i use textdrawsetstring to change textdraw text and text that i changed is bigger, positioned on the middle of the screen.IDK what have i done wrong here is code
Код:
NoviLoginTD6 = TextDrawCreate(100.000000, 240.333343, "Name Lastname"); TextDrawLetterSize(NoviLoginTD6, 0.449999, 1.600000); TextDrawAlignment(NoviLoginTD6, 2); TextDrawColor(NoviLoginTD6, -1); TextDrawSetShadow(NoviLoginTD6, 0); TextDrawSetOutline(NoviLoginTD6, 1); TextDrawBackgroundColor(NoviLoginTD6, 51); TextDrawFont(NoviLoginTD6, 2); TextDrawSetProportional(NoviLoginTD6, 1); //And here is code to change string format(stringg, 128, "%s", hhIme); TextDrawSetString(NoviLoginTD6, stringg); TextDrawShowForPlayer(playerid, NoviLoginTD6);