textdraw bugs! help
#1

Created textdraw and is somehow not good

where good:
http://kepfeltoltes.hu/view/140712/s...toltes.hu_.png

When I put this mode:
http://kepfeltoltes.hu/view/140712/s...toltes.hu_.png


Code:

// Create the textdraws:
Код:
	Textdraw0 = TextDrawCreate(511.000000, 400.000000, "World War");
	TextDrawBackgroundColor(Textdraw0, 255);
	TextDrawFont(Textdraw0, 1);
	TextDrawLetterSize(Textdraw0, 0.600000, 3.000000);
	TextDrawColor(Textdraw0, -1);
	TextDrawSetOutline(Textdraw0, 0);
	TextDrawSetProportional(Textdraw0, 1);
	TextDrawSetShadow(Textdraw0, 1);
	TextDrawSetSelectable(Textdraw0, 0);

	Textdraw1 = TextDrawCreate(617.000000, 377.000000, "II");
	TextDrawBackgroundColor(Textdraw1, 255);
	TextDrawFont(Textdraw1, 1);
	TextDrawLetterSize(Textdraw1, 0.900000, 6.099999);
	TextDrawColor(Textdraw1, -16776961);
	TextDrawSetOutline(Textdraw1, 0);
	TextDrawSetProportional(Textdraw1, 1);
	TextDrawSetShadow(Textdraw1, 1);
	TextDrawSetSelectable(Textdraw1, 0);

	Textdraw2 = TextDrawCreate(513.000000, 335.000000, "tank"); //<< BUG
	TextDrawBackgroundColor(Textdraw2, -2105968384);
	TextDrawFont(Textdraw2, 5);
	TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
	TextDrawColor(Textdraw2, -1);
	TextDrawSetOutline(Textdraw2, 0);
	TextDrawSetProportional(Textdraw2, 1);
	TextDrawSetShadow(Textdraw2, 1);
	TextDrawUseBox(Textdraw2, 1);
	TextDrawBoxColor(Textdraw2, 255);
	TextDrawTextSize(Textdraw2, 130.000000, 130.000000);
	TextDrawSetSelectable(Textdraw2, 0);
How to fix?
Reply
#2

I can't see any "TextDrawSetPreviewModel" in your code.
Reply
#3

error 017: undefined symbol "TextDrawSetPreviewModel" don't work
please help! update includes
Reply
#4

Do you use the a_samp include of 0.3x+ ?
Because it seems not, the function DOES exist here
Reply
#5

Than how CJ came there if there is no TextDrawSetPreviewModel ?
Reply
#6

Then this is such a strange problem, but well observed, I haven't thought about this case.
Reply
#7

solved! a_samp replaced
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)