Problem with textdraws not showing after a_samp.inc update
#1

Hello,

I have been recently working on my server and I came across a new dialog style and when I added it into a dialog, it said it was not defined. So I updated the a_samp.inc as I was still working with the old version of a_samp.inc (0.3z).

After updating, it compiled fine but when I went in game I noticed that most of my textdraws weren't working. I debugged the problem by going back to a previous backup and testing it.

Here is the textdraw codes:

Код:
Logo[0] = TextDrawCreate(498.975494, 401.916748, "Los Santos Life");
	TextDrawLetterSize(Logo[0], 0.482327, 1.605833);
	TextDrawAlignment(Logo[0], 1);
	TextDrawColor(Logo[0], -319151105);
	TextDrawSetShadow(Logo[0], 0);
	TextDrawSetOutline(Logo[0], 1);
	TextDrawBackgroundColor(Logo[0], 51);
	TextDrawFont(Logo[0], 3);
	TextDrawSetProportional(Logo[0], 1);

	Logo[1] = TextDrawCreate(499.912078, 417.666595, "Cops n Robbers");
	TextDrawLetterSize(Logo[1], 0.479048, 1.699167);
	TextDrawAlignment(Logo[1], 1);
	TextDrawColor(Logo[1], 643428607);
	TextDrawSetShadow(Logo[1], 0);
	TextDrawSetOutline(Logo[1], 1);
	TextDrawBackgroundColor(Logo[1], 51);
	TextDrawFont(Logo[1], 3);
	TextDrawSetProportional(Logo[1], 1);
ALSO

Код:
gTime = TextDrawCreate(605.000000,25.000000,"00:00");
	TextDrawAlignment(gTime,3);
	TextDrawBackgroundColor(gTime,0x000000FF);
	TextDrawFont(gTime,3);
	TextDrawLetterSize(gTime,0.535,2.2);
	TextDrawColor(gTime,COLOR_TIME);
	TextDrawSetOutline(gTime,1);
	TextDrawSetProportional(gTime,1);
	TextDrawSetShadow(gTime,1);

	gDay = TextDrawCreate(610.000000,7.000000,"Sunday");
	TextDrawUseBox(gDay,0);
	TextDrawFont(gDay,3);
	TextDrawLetterSize(gDay,0.6,1.5);
	TextDrawSetShadow(gDay,1);
	TextDrawSetOutline(gDay ,0);
	TextDrawBackgroundColor(gDay, 0x000000FF);
	TextDrawBoxColor(gDay ,0x00000066);
	TextDrawColor(gDay,COLOR_DAY);
	TextDrawTextSize(gDay , -1880.0, -1880.0);
	TextDrawAlignment(gDay,3);
	TextDrawSetOutline(gDay,1);
How can I fix this?

Thanks
Reply


Messages In This Thread
Problem with textdraws not showing after a_samp.inc update - by FunnyBear - 13.12.2015, 18:13
Re: Problem with textdraws not showing after a_samp.inc update - by Crayder - 13.12.2015, 18:47
Re: Problem with textdraws not showing after a_samp.inc update - by yvoms - 13.12.2015, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)