Problem with previewmodel.
#1

Well, i'm trying to create a textdraw that reflects some weapons, and the result is this, the image of the object is cropped, what can i do?



This is my code.
PHP код:
TDEditor_TD[1] = TextDrawCreate(471.111145128.555541"");
TextDrawLetterSize(TDEditor_TD[1], 0.0000000.000000);
TextDrawTextSize(TDEditor_TD[1], 90.00000090.000000);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], -1);
TextDrawSetShadow(TDEditor_TD[1], 0);
TextDrawSetOutline(TDEditor_TD[1], 0);
TextDrawBackgroundColor(TDEditor_TD[1], -871318784);
TextDrawFont(TDEditor_TD[1], 5);
TextDrawSetProportional(TDEditor_TD[1], 0);
TextDrawSetShadow(TDEditor_TD[1], 0);
TextDrawSetPreviewModel(TDEditor_TD[1], 355);
TextDrawSetPreviewRot(TDEditor_TD[1], 0.0000000.0000000.0000001.000000); 
Reply
#2

bump
Reply
#3

You can try to zoom out in TextDrawSetPreviewRot and increase the textdraw size in TextDrawTextSize

Try this: (Changes are red colored)
Код:
	TDEditor_TD[1] = TextDrawCreate(471.111145, 128.555541, ""); 
	TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000); 
	TextDrawTextSize(TDEditor_TD[1], 150.000000, 150.000000); 
	TextDrawAlignment(TDEditor_TD[1], 1); 
	TextDrawColor(TDEditor_TD[1], -1); 
	TextDrawSetShadow(TDEditor_TD[1], 0); 
	TextDrawSetOutline(TDEditor_TD[1], 0); 
	TextDrawBackgroundColor(TDEditor_TD[1], -871318784); 
	TextDrawFont(TDEditor_TD[1], 5); 
	TextDrawSetProportional(TDEditor_TD[1], 0); 
	TextDrawSetShadow(TDEditor_TD[1], 0); 
	TextDrawSetPreviewModel(TDEditor_TD[1], 355);
	TextDrawSetPreviewRot(TDEditor_TD[1], 0.000000, 0.000000, 0.000000, 2.5);
Reply
#4

Quote:
Originally Posted by FailerZ
Посмотреть сообщение
You can try to zoom out in TextDrawSetPreviewRot and increase the textdraw size in TextDrawTextSize

Try this: (Changes are red colored)
Код:
	TDEditor_TD[1] = TextDrawCreate(471.111145, 128.555541, ""); 
	TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000); 
	TextDrawTextSize(TDEditor_TD[1], 150.000000, 150.000000); 
	TextDrawAlignment(TDEditor_TD[1], 1); 
	TextDrawColor(TDEditor_TD[1], -1); 
	TextDrawSetShadow(TDEditor_TD[1], 0); 
	TextDrawSetOutline(TDEditor_TD[1], 0); 
	TextDrawBackgroundColor(TDEditor_TD[1], -871318784); 
	TextDrawFont(TDEditor_TD[1], 5); 
	TextDrawSetProportional(TDEditor_TD[1], 0); 
	TextDrawSetShadow(TDEditor_TD[1], 0); 
	TextDrawSetPreviewModel(TDEditor_TD[1], 355);
	TextDrawSetPreviewRot(TDEditor_TD[1], 0.000000, 0.000000, 0.000000, 2.5);
Yeah is this! ty @FailerZ +rep for you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)