Textdraw Bug
#1

When I change any textdraw in my gamemode all screen gone white. That happens when I change position of textdraw or add any textdraw. Do anybody knows why??

sa-mp-849.jpg
Reply
#2

Post your textdraws
Reply
#3

I have a lot of them, here are my InGame textdraws (there are more war, register, login textdraws

Код:
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		BankGold[i] = TextDrawCreate(136.000000, 402.000000, "~y~gold: ~w~1000g~n~~g~bank: $~w~1000");
		TextDrawBackgroundColor(BankGold[i], 255);
		TextDrawFont(BankGold[i], 2);
		TextDrawLetterSize(BankGold[i], 0.230000, 1.300000);
		TextDrawColor(BankGold[i], -1);
		TextDrawSetOutline(BankGold[i], 1);
		TextDrawSetProportional(BankGold[i], 1);
		TextDrawSetSelectable(BankGold[i], 0);
	}
	Logo[0] = TextDrawCreate(516.250000, 4.399976, "Sparta");
	TextDrawLetterSize(Logo[0], 0.400000, 1.600000);
	TextDrawAlignment(Logo[0], 1);
	TextDrawColor(Logo[0], -1);
	TextDrawSetShadow(Logo[0], 0);
	TextDrawSetOutline(Logo[0], 1);
	TextDrawBackgroundColor(Logo[0], 126267562);
	TextDrawFont(Logo[0], 2);
	TextDrawSetProportional(Logo[0], 1);
	TextDrawSetShadow(Logo[0], 0);

	Logo[1] = TextDrawCreate(545.422607, 0.449997, "");
	TextDrawLetterSize(Logo[1], 0.000000, 0.000000);
	TextDrawTextSize(Logo[1], 59.139724, 15.200027);
	TextDrawAlignment(Logo[1], 1);
	TextDrawColor(Logo[1], 126267562);
	TextDrawSetShadow(Logo[1], 0);
	TextDrawSetOutline(Logo[1], 0);
	TextDrawBackgroundColor(Logo[1], 0);
	TextDrawFont(Logo[1], 5);
	TextDrawSetProportional(Logo[1], 1);
	TextDrawSetShadow(Logo[1], 0);
	TextDrawSetPreviewModel(Logo[1], 19357);
	TextDrawSetPreviewRot(Logo[1], 0.000000, -5.000000, 0.000000, 1.000000);

	Logo[2] = TextDrawCreate(598.598510, -16.466665, "");
	TextDrawLetterSize(Logo[2], 0.000000, 0.000000);
	TextDrawTextSize(Logo[2], -17.735275, 61.283359);
	TextDrawAlignment(Logo[2], 1);
	TextDrawColor(Logo[2], 126267562);
	TextDrawSetShadow(Logo[2], 0);
	TextDrawSetOutline(Logo[2], 0);
	TextDrawBackgroundColor(Logo[2], 0);
	TextDrawFont(Logo[2], 5);
	TextDrawSetProportional(Logo[2], 1);
	TextDrawSetShadow(Logo[2], 0);
	TextDrawSetPreviewModel(Logo[2], 19357);
	TextDrawSetPreviewRot(Logo[2], 0.000000, 90.000000, 0.000000, 1.000000);          

	Logo[3] = TextDrawCreate(593.125000, 35.983406, "LD_SPAC:white");
	TextDrawLetterSize(Logo[3], 0.000000, 0.000000);
	TextDrawTextSize(Logo[3], 45.000000, -2.750008);
	TextDrawAlignment(Logo[3], 1);
	TextDrawColor(Logo[3], 126267562);
	TextDrawSetShadow(Logo[3], 0);
	TextDrawSetOutline(Logo[3], 0);
	TextDrawBackgroundColor(Logo[3], 255);
	TextDrawFont(Logo[3], 4);
	TextDrawSetProportional(Logo[3], 1);
	TextDrawSetShadow(Logo[3], 0);

	Logo[4] = TextDrawCreate(592.500000, 19.083307, "RPG");
	TextDrawLetterSize(Logo[4], 0.400000, 1.600000);
	TextDrawAlignment(Logo[4], 1);
	TextDrawColor(Logo[4], -1);
	TextDrawSetShadow(Logo[4], 0);
	TextDrawSetOutline(Logo[4], 1);
	TextDrawBackgroundColor(Logo[4], 126267562);
	TextDrawFont(Logo[4], 2);
	TextDrawSetProportional(Logo[4], 1);
	TextDrawSetShadow(Logo[4], 0);

	Logo[5] = TextDrawCreate(564.478027, 36.866794, "");
	TextDrawLetterSize(Logo[5], 0.205498, 0.994163);
	TextDrawAlignment(Logo[5], 1);
	TextDrawColor(Logo[5], -1);
	TextDrawSetShadow(Logo[5], 0);
	TextDrawSetOutline(Logo[5], 1);
	TextDrawBackgroundColor(Logo[5], 126267562);
	TextDrawFont(Logo[5], 2);
	TextDrawSetProportional(Logo[5], 1);
	TextDrawSetShadow(Logo[5], 0);

	Logo[6] = TextDrawCreate(592.425170, 36.766735, "LD_SPAC:white");
	TextDrawLetterSize(Logo[6], 0.000000, 0.000000);
	TextDrawTextSize(Logo[6], 45.000000, -2.750008);
	TextDrawAlignment(Logo[6], 1);
	TextDrawColor(Logo[6], -1);
	TextDrawSetShadow(Logo[6], 0);
	TextDrawSetOutline(Logo[6], 0);
	TextDrawBackgroundColor(Logo[6], 255);
	TextDrawFont(Logo[6], 4);
	TextDrawSetProportional(Logo[6], 1);
	TextDrawSetShadow(Logo[6], 0);

	Logo[7] = TextDrawCreate(550.821289, 0.449997, "");
	TextDrawLetterSize(Logo[7], 0.000000, 0.000000);
	TextDrawTextSize(Logo[7], 59.139724, 15.200027);
	TextDrawAlignment(Logo[7], 1);
	TextDrawColor(Logo[7], 126267562);
	TextDrawSetShadow(Logo[7], 0);
	TextDrawSetOutline(Logo[7], 0);
	TextDrawBackgroundColor(Logo[7], 0);
	TextDrawFont(Logo[7], 5);
	TextDrawSetProportional(Logo[7], 1);
	TextDrawSetShadow(Logo[7], 0);
	TextDrawSetPreviewModel(Logo[7], 19357);
	TextDrawSetPreviewRot(Logo[7], 0.000000, 5.000000, 0.000000, 1.000000);

	Logo[8] = TextDrawCreate(558.321289, 23.200000, "");
	TextDrawLetterSize(Logo[8], 0.000000, 0.000000);
	TextDrawTextSize(Logo[8], 59.139724, 15.200027);
	TextDrawAlignment(Logo[8], 1);
	TextDrawColor(Logo[8], 126267562);
	TextDrawSetShadow(Logo[8], 0);
	TextDrawSetOutline(Logo[8], 0);
	TextDrawBackgroundColor(Logo[8], 0);
	TextDrawFont(Logo[8], 5);
	TextDrawSetProportional(Logo[8], 1);
	TextDrawSetShadow(Logo[8], 0);
	TextDrawSetPreviewModel(Logo[8], 19357);
	TextDrawSetPreviewRot(Logo[8], 0.000000, 5.000000, 0.000000, 1.000000);

	Logo[9] = TextDrawCreate(537.922607, 23.199998, "");
	TextDrawLetterSize(Logo[9], 0.000000, 0.000000);
	TextDrawTextSize(Logo[9], 59.139724, 15.200027);
	TextDrawAlignment(Logo[9], 1);
	TextDrawColor(Logo[9], 126267562);
	TextDrawSetShadow(Logo[9], 0);
	TextDrawSetOutline(Logo[9], 0);
	TextDrawBackgroundColor(Logo[9], 0);
	TextDrawFont(Logo[9], 5);
	TextDrawSetProportional(Logo[9], 1);
	TextDrawSetShadow(Logo[9], 0);
	TextDrawSetPreviewModel(Logo[9], 19357);
	TextDrawSetPreviewRot(Logo[9], 0.000000, -5.000000, 0.000000, 1.000000);

	Logo[10] = TextDrawCreate(574.904296, -16.466665, "");
	TextDrawLetterSize(Logo[10], 0.000000, 0.000000);
	TextDrawTextSize(Logo[10], -17.735275, 61.283359);
	TextDrawAlignment(Logo[10], 1);
	TextDrawColor(Logo[10], 126267562);
	TextDrawSetShadow(Logo[10], 0);
	TextDrawSetOutline(Logo[10], 0);
	TextDrawBackgroundColor(Logo[10], 0);
	TextDrawFont(Logo[10], 5);
	TextDrawSetProportional(Logo[10], 1);
	TextDrawSetShadow(Logo[10], 0);
	TextDrawSetPreviewModel(Logo[10], 19357);
	TextDrawSetPreviewRot(Logo[10], 0.000000, 90.000000, 0.000000, 1.000000);

	Logo[11] = TextDrawCreate(625.004272, 13.383334, "");
	TextDrawLetterSize(Logo[11], 0.000000, 0.000000);
	TextDrawTextSize(Logo[11], -66.485275, 11.700029);
	TextDrawAlignment(Logo[11], 1);
	TextDrawColor(Logo[11], 126267562);
	TextDrawSetShadow(Logo[11], 0);
	TextDrawSetOutline(Logo[11], 0);
	TextDrawBackgroundColor(Logo[11], 0);
	TextDrawFont(Logo[11], 5);
	TextDrawSetProportional(Logo[11], 1);
	TextDrawSetShadow(Logo[11], 0);
	TextDrawSetPreviewModel(Logo[11], 19357);
	TextDrawSetPreviewRot(Logo[11], 0.000000, 10.000000, 0.000000, 1.000000);

	Logo[12] = TextDrawCreate(597.710937, 13.883336, "");
	TextDrawLetterSize(Logo[12], 0.000000, 0.000000);
	TextDrawTextSize(Logo[12], -66.485275, 11.700029);
	TextDrawAlignment(Logo[12], 1);
	TextDrawColor(Logo[12], 126267562);
	TextDrawSetShadow(Logo[12], 0);
	TextDrawSetOutline(Logo[12], 0);
	TextDrawBackgroundColor(Logo[12], 0);
	TextDrawFont(Logo[12], 5);
	TextDrawSetProportional(Logo[12], 1);
	TextDrawSetShadow(Logo[12], 0);
	TextDrawSetPreviewModel(Logo[12], 19357);
	TextDrawSetPreviewRot(Logo[12], 0.000000, -10.000000, 0.000000, 1.000000);

	Logo[13] = TextDrawCreate(624.236328, 26.116668, "");
	TextDrawLetterSize(Logo[13], 0.000000, 0.000000);
	TextDrawTextSize(Logo[13], -80.860275, 12.866699);
	TextDrawAlignment(Logo[13], 1);
	TextDrawColor(Logo[13], 126267562);
	TextDrawSetShadow(Logo[13], 0);
	TextDrawSetOutline(Logo[13], 0);
	TextDrawBackgroundColor(Logo[13], 0);
	TextDrawFont(Logo[13], 5);
	TextDrawSetProportional(Logo[13], 1);
	TextDrawSetShadow(Logo[13], 0);
	TextDrawSetPreviewModel(Logo[13], 19357);
	TextDrawSetPreviewRot(Logo[13], 0.000000, -10.000000, 0.000000, 1.000000);

	Logo[14] = TextDrawCreate(611.937500, 26.233337, "");
	TextDrawLetterSize(Logo[14], 0.000000, 0.000000);
	TextDrawTextSize(Logo[14], -80.860275, 12.866699);
	TextDrawAlignment(Logo[14], 1);
	TextDrawColor(Logo[14], 126267562);
	TextDrawSetShadow(Logo[14], 0);
	TextDrawSetOutline(Logo[14], 0);
	TextDrawBackgroundColor(Logo[14], 0);
	TextDrawFont(Logo[14], 5);
	TextDrawSetProportional(Logo[14], 1);
	TextDrawSetShadow(Logo[14], 0);
	TextDrawSetPreviewModel(Logo[14], 19357);
	TextDrawSetPreviewRot(Logo[14], 0.000000, 10.000000, 0.000000, 1.000000);                  

	Logo[15] = TextDrawCreate(584.102050, 1.083269, "");
	TextDrawLetterSize(Logo[15], 0.230000, 1.407500);
	TextDrawAlignment(Logo[15], 1);
	TextDrawColor(Logo[15], -1);
	TextDrawSetShadow(Logo[15], 0);
	TextDrawSetOutline(Logo[15], 1);
	TextDrawBackgroundColor(Logo[15], 126267562);
	TextDrawFont(Logo[15], 2);
	TextDrawSetProportional(Logo[15], 1);
	TextDrawSetShadow(Logo[15], 0);

	Logo[16] = TextDrawCreate(517.649658, 22.533407, "LD_SPAC:white");
	TextDrawLetterSize(Logo[16], 0.000000, 0.000000);
	TextDrawTextSize(Logo[16], 45.000000, -2.750008);
	TextDrawAlignment(Logo[16], 1);
	TextDrawColor(Logo[16], 126267562);
	TextDrawSetShadow(Logo[16], 0);
	TextDrawSetOutline(Logo[16], 0);
	TextDrawBackgroundColor(Logo[16], 255);
	TextDrawFont(Logo[16], 4);
	TextDrawSetProportional(Logo[16], 1);
	TextDrawSetShadow(Logo[16], 0);

	Logo[17] = TextDrawCreate(516.449951, 23.433410, "LD_SPAC:white");
	TextDrawLetterSize(Logo[17], 0.000000, 0.000000);
	TextDrawTextSize(Logo[17], 45.000000, -2.750008);
	TextDrawAlignment(Logo[17], 1);
	TextDrawColor(Logo[17], -1);
	TextDrawSetShadow(Logo[17], 0);
	TextDrawSetOutline(Logo[17], 0);
	TextDrawBackgroundColor(Logo[17], 255);
	TextDrawFont(Logo[17], 4);
	TextDrawSetProportional(Logo[17], 1);
	TextDrawSetShadow(Logo[17], 0);

	Predrag0 = TextDrawCreate(639.599975, 435.313598, "usebox");
	TextDrawLetterSize(Predrag0, 0.000000, 0.761851);
	TextDrawTextSize(Predrag0, -3.599999, 0.000000);
	TextDrawAlignment(Predrag0, 1);
	TextDrawColor(Predrag0, 0);
	TextDrawUseBox(Predrag0, true);
	TextDrawBoxColor(Predrag0, 102);
	TextDrawSetShadow(Predrag0, 0);
	TextDrawSetOutline(Predrag0, 0);
	TextDrawFont(Predrag0, 0);

	Predrag1 = TextDrawCreate(0.000001, 445.760223, "LD_SPAC:white");
	TextDrawLetterSize(Predrag1, 0.000000, 0.000000);
	TextDrawTextSize(Predrag1, 640.000000, -0.746673);
	TextDrawAlignment(Predrag1, 1);
	TextDrawColor(Predrag1, 126267562);
	TextDrawSetShadow(Predrag1, 0);
	TextDrawSetOutline(Predrag1, 0);
	TextDrawFont(Predrag1, 4);

	Predrag2 = TextDrawCreate(0.000002, 432.320068, "LD_SPAC:white");
	TextDrawLetterSize(Predrag2, 0.000000, 0.000000);
	TextDrawTextSize(Predrag2, 640.000000, -0.746643);
	TextDrawAlignment(Predrag2, 1);
	TextDrawColor(Predrag2, 126267562);
	TextDrawSetShadow(Predrag2, 0);
	TextDrawSetOutline(Predrag2, 0);
	TextDrawFont(Predrag2, 4);

	Predrag3 = TextDrawCreate(651.600097, 435.313323, "usebox");
	TextDrawLetterSize(Predrag3, 0.000000, 0.678891);
	TextDrawTextSize(Predrag3, 633.200073, 0.000000);
	TextDrawAlignment(Predrag3, 1);
	TextDrawColor(Predrag3, 0);
	TextDrawUseBox(Predrag3, true);
	TextDrawBoxColor(Predrag3, 102);
	TextDrawSetShadow(Predrag3, 0);
	TextDrawSetOutline(Predrag3, 0);
	TextDrawFont(Predrag3, 0);

	Predrag4 = TextDrawCreate(231.999954, 432.319976, "LD_SPAC:white");
	TextDrawLetterSize(Predrag4, 0.000000, 0.000000);
	TextDrawTextSize(Predrag4, 180.000000, 12.693359);
	TextDrawAlignment(Predrag4, 1);
	TextDrawColor(Predrag4, 255);
	TextDrawSetShadow(Predrag4, 0);
	TextDrawSetOutline(Predrag4, 0);
	TextDrawFont(Predrag4, 4);

	Predrag5 = TextDrawCreate(279.199920, 433.813446, "S~w~parta Community RPG");
	TextDrawLetterSize(Predrag5, 0.139599, 0.875733);
	TextDrawAlignment(Predrag5, 1);
	TextDrawColor(Predrag5, 126267562);
	TextDrawSetShadow(Predrag5, 0);
	TextDrawSetOutline(Predrag5, 1);
	TextDrawBackgroundColor(Predrag5, 51);
	TextDrawFont(Predrag5, 2);
	TextDrawSetProportional(Predrag5, 1);

	Predrag6 = TextDrawCreate(227.999938, 434.559967, "[]");
	TextDrawLetterSize(Predrag6, 0.222799, 0.741332);
	TextDrawAlignment(Predrag6, 1);
	TextDrawColor(Predrag6, 126267562);
	TextDrawSetShadow(Predrag6, 0);
	TextDrawSetOutline(Predrag6, 1);
	TextDrawBackgroundColor(Predrag6, 51);
	TextDrawFont(Predrag6, 2);
	TextDrawSetProportional(Predrag6, 1);

	Predrag7 = TextDrawCreate(395.999908, 434.560119, "[]");
	TextDrawLetterSize(Predrag7, 0.222800, 0.726399);
	TextDrawAlignment(Predrag7, 1);
	TextDrawColor(Predrag7, 126267562);
	TextDrawSetShadow(Predrag7, 0);
	TextDrawSetOutline(Predrag7, 1);
	TextDrawBackgroundColor(Predrag7, 51);
	TextDrawFont(Predrag7, 2);
	TextDrawSetProportional(Predrag7, 1);

	Predrag8 = TextDrawCreate(282.400024, 374.826751, "LD_SPAC:white");
	TextDrawLetterSize(Predrag8, 0.050400, -0.067199);
	TextDrawTextSize(Predrag8, 70.400032, 70.186645);
	TextDrawAlignment(Predrag8, 1);
	TextDrawColor(Predrag8, 255);
	TextDrawUseBox(Predrag8, true);
	TextDrawBoxColor(Predrag8, 0);
	TextDrawSetShadow(Predrag8, 0);
	TextDrawSetOutline(Predrag8, 0);
	TextDrawFont(Predrag8, 5);
	TextDrawBackgroundColor(Predrag8, 0);
	TextDrawSetPreviewModel(Predrag8, 4002);
	TextDrawSetPreviewRot(Predrag8, 0.000000, 0.000000, 0.000000, 1.000000);

	Predrag9 = TextDrawCreate(341.599975, 358.400024, "LD_SPAC:white");
	TextDrawLetterSize(Predrag9, 0.033599, 0.126933);
	TextDrawTextSize(Predrag9, 44.800006, 70.186637);
	TextDrawAlignment(Predrag9, 1);
	TextDrawColor(Predrag9, 255);
	TextDrawUseBox(Predrag9, true);
	TextDrawBoxColor(Predrag9, 0);
	TextDrawSetShadow(Predrag9, 0);
	TextDrawSetOutline(Predrag9, 0);
	TextDrawFont(Predrag9, 5);
	TextDrawBackgroundColor(Predrag9, 0);
	TextDrawSetPreviewModel(Predrag9, 519);
	TextDrawSetPreviewRot(Predrag9, 0.000000, 0.000000, 0.000000, 1.000000);

	Predrag10 = TextDrawCreate(253.599960, 362.880035, "LD_SPAC:white");
	TextDrawLetterSize(Predrag10, 0.008000, 0.119466);
	TextDrawTextSize(Predrag10, 49.599994, 70.186653);
	TextDrawAlignment(Predrag10, 1);
	TextDrawColor(Predrag10, 255);
	TextDrawUseBox(Predrag10, true);
	TextDrawBoxColor(Predrag10, 0);
	TextDrawSetShadow(Predrag10, 0);
	TextDrawSetOutline(Predrag10, 0);
	TextDrawBackgroundColor(Predrag10, 0);
	TextDrawFont(Predrag10, 5);
	TextDrawSetPreviewModel(Predrag10, 519);
	TextDrawSetPreviewRot(Predrag10, 0.000000, 0.000000, 0.000000, 1.000000);

	Predrag11 = TextDrawCreate(356.000000, 393.493408, "LD_SPAC:white");
	TextDrawLetterSize(Predrag11, 0.115200, 5.803733);
	TextDrawTextSize(Predrag11, 64.800003, 61.973335);
	TextDrawAlignment(Predrag11, 1);
	TextDrawColor(Predrag11, 255);
	TextDrawUseBox(Predrag11, true);
	TextDrawBoxColor(Predrag11, 0);
	TextDrawSetShadow(Predrag11, 0);
	TextDrawSetOutline(Predrag11, 0);
	TextDrawFont(Predrag11, 5);
	TextDrawBackgroundColor(Predrag11, 0);
	TextDrawSetPreviewModel(Predrag11, 5767);
	TextDrawSetPreviewRot(Predrag11, 0.000000, 0.000000, 0.000000, 1.000000);

	Predrag12 = TextDrawCreate(225.599990, 391.999969, "LD_SPAC:white");
	TextDrawLetterSize(Predrag12, 0.084000, 0.052266);
	TextDrawTextSize(Predrag12, 66.400001, 65.706665);
	TextDrawAlignment(Predrag12, 1);
	TextDrawColor(Predrag12, 255);
	TextDrawUseBox(Predrag12, true);
	TextDrawBoxColor(Predrag12, 0);
	TextDrawSetShadow(Predrag12, 0);
	TextDrawSetOutline(Predrag12, 0);
	TextDrawBackgroundColor(Predrag12, 0);
	TextDrawFont(Predrag12, 5);
	TextDrawSetPreviewModel(Predrag12, 5767);
	TextDrawSetPreviewRot(Predrag12, 0.000000, 0.000000, 0.000000, 1.000000);

	Predrag13 = TextDrawCreate(501.600006, 433.813446, "-s~w~ummer edition-");
	TextDrawLetterSize(Predrag13, 0.152399, 0.778666);
	TextDrawAlignment(Predrag13, 1);
	TextDrawColor(Predrag13, 126267562);
	TextDrawSetShadow(Predrag13, 0);
	TextDrawSetOutline(Predrag13, -1);
	TextDrawBackgroundColor(Predrag13, 51);
	TextDrawFont(Predrag13, 2);
	TextDrawSetProportional(Predrag13, 1);

   
        SPORUKE = TextDrawCreate(11.999979, 434.560089, "RANDOM MESSAGE");
        TextDrawLetterSize(SPORUKE, 0.146000, 0.703999);
        TextDrawAlignment(SPORUKE, 1);
        TextDrawColor(SPORUKE, -1061109505);
        TextDrawSetShadow(SPORUKE, 0);
        TextDrawSetOutline(SPORUKE, -1);
        TextDrawBackgroundColor(SPORUKE, 51);
        TextDrawFont(SPORUKE, 2);
        TextDrawSetProportional(SPORUKE, 1);

        UWTD11 = TextDrawCreate(69.777755, 317.084381, "ONLINE: ~w~0");
	TextDrawLetterSize(UWTD11, 0.267777, 0.753777);
	TextDrawAlignment(UWTD11, 1);
	TextDrawColor(UWTD11, 126267562);
	TextDrawSetShadow(UWTD11, 0);
	TextDrawSetOutline(UWTD11, 1);
	TextDrawBackgroundColor(UWTD11, 255);
	TextDrawFont(UWTD11, 3);
	TextDrawSetProportional(UWTD11, 1);

	UWTD151 = TextDrawCreate(69.333366, 326.044403, "RECORD: ~w~78");
	TextDrawLetterSize(UWTD151, 0.234888, 0.798577);
	TextDrawAlignment(UWTD151, 1);
	TextDrawColor(UWTD151, 126267562);
	TextDrawSetShadow(UWTD151, 0);
	TextDrawSetOutline(UWTD151, 1);
	TextDrawBackgroundColor(UWTD151, 255);
	TextDrawFont(UWTD151, 3);
	TextDrawSetProportional(UWTD151, 1);
There are not all these textdraws on image because I was removing something.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)