TextDraws Overlapping
#1

I have been having this problem since a long time.. my Box Keeps OverLapping with the other texdraws.. no matter where i put it.. i made it come before all the other textdraws.. still it remains above the other ones.. this is how it looks.. because of that all my text looks dull

Reply
#2

Show us the textdraw codes. I think there is a same textdraw variable used for separate textdraw.
Reply
#3

Code:
TextdrawDis6 = TextDrawCreate(190.000000, 110.000000, "_______"); // this is the one which makes the box
	TextDrawBackgroundColor(TextdrawDis6, 255);
	TextDrawFont(TextdrawDis6, 1);
	TextDrawLetterSize(TextdrawDis6, 1.800000, 27.000000);
	TextDrawColor(TextdrawDis6, 0);
	TextDrawSetOutline(TextdrawDis6, 0);
	TextDrawSetProportional(TextdrawDis6, 1);
	TextDrawSetShadow(TextdrawDis6, 1);
	TextDrawUseBox(TextdrawDis6, 1);
	TextDrawBoxColor(TextdrawDis6, 170);
	TextDrawTextSize(TextdrawDis6, 460.000000, 380.000000);

	TextdrawRounds[40] = TextDrawCreate(268.000000, 168.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[40], 255);
	TextDrawFont(TextdrawRounds[40], 2);
	TextDrawLetterSize(TextdrawRounds[40], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[40], -1);
	TextDrawSetOutline(TextdrawRounds[40], 1);
	TextDrawSetProportional(TextdrawRounds[40], 1);
	
	TextdrawRounds[41] = TextDrawCreate(401.000000, 168.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[41], 255);
	TextDrawFont(TextdrawRounds[41], 2);
	TextDrawLetterSize(TextdrawRounds[41], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[41], -1);
	TextDrawSetOutline(TextdrawRounds[41], 1);
	TextDrawSetProportional(TextdrawRounds[41], 1);
	
	TextdrawRounds[42] = TextDrawCreate(268.000000, 188.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[42], 255);
	TextDrawFont(TextdrawRounds[42], 2);
	TextDrawLetterSize(TextdrawRounds[42], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[42], -1);
	TextDrawSetOutline(TextdrawRounds[42], 1);
	TextDrawSetProportional(TextdrawRounds[42], 1);
	
 	TextdrawRounds[43] = TextDrawCreate(401.000000, 188.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[43], 255);
	TextDrawFont(TextdrawRounds[43], 2);
	TextDrawLetterSize(TextdrawRounds[43], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[43], -1);
	TextDrawSetOutline(TextdrawRounds[43], 1);
	TextDrawSetProportional(TextdrawRounds[43], 1);
	
	TextdrawRounds[44] = TextDrawCreate(268.000000, 208.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[44], 255);
	TextDrawFont(TextdrawRounds[44], 2);
	TextDrawLetterSize(TextdrawRounds[44], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[44], -1);
	TextDrawSetOutline(TextdrawRounds[44], 1);
	TextDrawSetProportional(TextdrawRounds[44], 1);
	
	TextdrawRounds[45] = TextDrawCreate(401.000000, 208.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[45], 255);
	TextDrawFont(TextdrawRounds[45], 2);
	TextDrawLetterSize(TextdrawRounds[45], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[45], -1);
	TextDrawSetOutline(TextdrawRounds[45], 1);
	TextDrawSetProportional(TextdrawRounds[45], 1);
	
	TextdrawRounds[46] = TextDrawCreate(268.000000, 228.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[46], 255);
	TextDrawFont(TextdrawRounds[46], 2);
	TextDrawLetterSize(TextdrawRounds[46], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[46], -1);
	TextDrawSetOutline(TextdrawRounds[46], 1);
	TextDrawSetProportional(TextdrawRounds[46], 1);
	
	TextdrawRounds[47] = TextDrawCreate(401.000000, 228.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[47], 255);
	TextDrawFont(TextdrawRounds[47], 2);
	TextDrawLetterSize(TextdrawRounds[47], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[47], -1);
	TextDrawSetOutline(TextdrawRounds[47], 1);
	TextDrawSetProportional(TextdrawRounds[47], 1);
	
    TextdrawRounds[48] = TextDrawCreate(268.000000, 248.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[48], 255);
	TextDrawFont(TextdrawRounds[48], 2);
	TextDrawLetterSize(TextdrawRounds[48], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[48], -1);
	TextDrawSetOutline(TextdrawRounds[48], 1);
	TextDrawSetProportional(TextdrawRounds[48], 1);

	TextdrawRounds[49] = TextDrawCreate(401.000000, 248.000000, "x - x");
	TextDrawBackgroundColor(TextdrawRounds[49], 255);
	TextDrawFont(TextdrawRounds[49], 2);
	TextDrawLetterSize(TextdrawRounds[49], 0.300000, 1.000000);
	TextDrawColor(TextdrawRounds[49], -1);
	TextDrawSetOutline(TextdrawRounds[49], 1);
	TextDrawSetProportional(TextdrawRounds[49], 1);
	
	
	Textdrawcwscore = TextDrawCreate(300.000000, 140.000000, "x - x");
	TextDrawBackgroundColor(Textdrawcwscore, 255);
	TextDrawFont(Textdrawcwscore, 2);
	TextDrawLetterSize(Textdrawcwscore, 0.500000, 1.000000);
	TextDrawColor(Textdrawcwscore, -1);
	TextDrawSetOutline(Textdrawcwscore, 0);
	TextDrawSetProportional(Textdrawcwscore, 1);
	TextDrawSetShadow(Textdrawcwscore, 1);
	
	TextdrawWin = TextDrawCreate(309.000000, 113.000000, "Dx");
	TextDrawBackgroundColor(TextdrawWin, 255);
	TextDrawFont(TextdrawWin, 1);
	TextDrawLetterSize(TextdrawWin, 0.500000, 1.000000);
	TextDrawColor(TextdrawWin, -16776961);
	TextDrawSetOutline(TextdrawWin, 1);
	TextDrawSetProportional(TextdrawWin, 1);
	
	TextdrawTop = TextDrawCreate(282.000000, 275.000000, "HIGHEST_KILLER");
	TextDrawBackgroundColor(TextdrawTop, 255);
	TextDrawFont(TextdrawTop, 2);
	TextDrawLetterSize(TextdrawTop, 0.260000, 2.000000);
	TextDrawColor(TextdrawTop, -16776961);
	TextDrawSetOutline(TextdrawTop, 1);
	TextDrawSetProportional(TextdrawTop, 1);
	
	TextdrawBottom = TextDrawCreate(282.000000, 305.000000, "HIGHEST_DEATHS");
	TextDrawBackgroundColor(TextdrawBottom, 255);
	TextDrawFont(TextdrawBottom, 2);
	TextDrawLetterSize(TextdrawBottom, 0.290000, 1.899999);
	TextDrawColor(TextdrawBottom, -16776961);
	TextDrawSetOutline(TextdrawBottom, 1);
	TextDrawSetProportional(TextdrawBottom, 1);
	
	TextdrawRtext[40] = TextDrawCreate(204.000000, 169.000000, "Round 1 -");
	TextDrawBackgroundColor(TextdrawRtext[40], 255);
	TextDrawFont(TextdrawRtext[40], 1);
	TextDrawLetterSize(TextdrawRtext[40], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[40], -16776961);
	TextDrawSetOutline(TextdrawRtext[40], 1);
	TextDrawSetProportional(TextdrawRtext[40], 1);
	
	TextdrawRtext[41] = TextDrawCreate(335.000000, 168.000000, "Round 2 -");
	TextDrawBackgroundColor(TextdrawRtext[41], 255);
	TextDrawFont(TextdrawRtext[41], 1);
	TextDrawLetterSize(TextdrawRtext[41], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[41], -16776961);
	TextDrawSetOutline(TextdrawRtext[41], 1);
	TextDrawSetProportional(TextdrawRtext[41], 1);
	
	TextdrawRtext[42] = TextDrawCreate(204.000000, 189.000000, "Round 3 -");
	TextDrawBackgroundColor(TextdrawRtext[42], 255);
	TextDrawFont(TextdrawRtext[42], 1);
	TextDrawLetterSize(TextdrawRtext[42], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[42], -16776961);
	TextDrawSetOutline(TextdrawRtext[42], 1);
	TextDrawSetProportional(TextdrawRtext[42], 1);

	TextdrawRtext[43] = TextDrawCreate(335.000000, 188.000000, "Round 4 -");
	TextDrawBackgroundColor(TextdrawRtext[43], 255);
	TextDrawFont(TextdrawRtext[43], 1);
	TextDrawLetterSize(TextdrawRtext[44], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[43], -16776961);
	TextDrawSetOutline(TextdrawRtext[43], 1);
	TextDrawSetProportional(TextdrawRtext[43], 1);
	
	TextdrawRtext[44] = TextDrawCreate(204.000000, 209.000000, "Round 5 -");
	TextDrawBackgroundColor(TextdrawRtext[44], 255);
	TextDrawFont(TextdrawRtext[44], 1);
	TextDrawLetterSize(TextdrawRtext[44], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[44], -16776961);
	TextDrawSetOutline(TextdrawRtext[44], 1);
	TextDrawSetProportional(TextdrawRtext[44], 1);
	
	TextdrawRtext[45] = TextDrawCreate(335.000000, 208.000000, "Round 6 -");
	TextDrawBackgroundColor(TextdrawRtext[45], 255);
	TextDrawFont(TextdrawRtext[45], 1);
	TextDrawLetterSize(TextdrawRtext[45], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[45], -16776961);
	TextDrawSetOutline(TextdrawRtext[45], 1);
	TextDrawSetProportional(TextdrawRtext[45], 1);

	TextdrawRtext[46] = TextDrawCreate(204.000000, 229.000000, "Round 7 -");
	TextDrawBackgroundColor(TextdrawRtext[46], 255);
	TextDrawFont(TextdrawRtext[46], 1);
	TextDrawLetterSize(TextdrawRtext[46], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[46], -16776961);
	TextDrawSetOutline(TextdrawRtext[46], 1);
	TextDrawSetProportional(TextdrawRtext[46], 1);
	
	TextdrawRtext[47] = TextDrawCreate(335.000000, 228.000000, "Round 8 -");
	TextDrawBackgroundColor(TextdrawRtext[47], 255);
	TextDrawFont(TextdrawRtext[47], 1);
	TextDrawLetterSize(TextdrawRtext[47], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[47], -16776961);
	TextDrawSetOutline(TextdrawRtext[47], 1);
	TextDrawSetProportional(TextdrawRtext[47], 1);

	TextdrawRtext[48] = TextDrawCreate(204.000000, 249.000000, "Round 9 -");
	TextDrawBackgroundColor(TextdrawRtext[48], 255);
	TextDrawFont(TextdrawRtext[48], 1);
	TextDrawLetterSize(TextdrawRtext[48], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[48], -16776961);
	TextDrawSetOutline(TextdrawRtext[48], 1);
	TextDrawSetProportional(TextdrawRtext[48], 1);
	
	TextdrawRtext[49] = TextDrawCreate(335.000000, 248.000000, "Round 10 -");
	TextDrawBackgroundColor(TextdrawRtext[49], 255);
	TextDrawFont(TextdrawRtext[49], 1);
	TextDrawLetterSize(TextdrawRtext[49], 0.300000, 1.000000);
	TextDrawColor(TextdrawRtext[49], -16776961);
	TextDrawSetOutline(TextdrawRtext[49], 1);
	TextDrawSetProportional(TextdrawRtext[49], 1);
	
	TextdrawDis1 = TextDrawCreate(300.000000, 125.000000, "Won");
	TextDrawBackgroundColor(TextdrawDis1, 255);
	TextDrawFont(TextdrawDis1, 1);
	TextDrawLetterSize(TextdrawDis1, 0.200000, 1.000000);
	TextDrawColor(TextdrawDis1, 16711935);
	TextDrawSetOutline(TextdrawDis1, 0);
	TextDrawSetProportional(TextdrawDis1, 1);
	TextDrawSetShadow(TextdrawDis1, 1);
	
	TextdrawDis2 = TextDrawCreate(285.000000, 125.000000, "has       the Clanwar");
	TextDrawBackgroundColor(TextdrawDis2, 255);
	TextDrawFont(TextdrawDis2, 1);
	TextDrawLetterSize(TextdrawDis2, 0.200000, 1.000000);
	TextDrawColor(TextdrawDis2, -1);
	TextDrawSetOutline(TextdrawDis2, 1);
	TextDrawSetProportional(TextdrawDis2, 1);
	
	TextdrawDis3 = TextDrawCreate(202.000000, 275.000000, "Top Killer -");
	TextDrawBackgroundColor(TextdrawDis3, 255);
	TextDrawFont(TextdrawDis3, 3);
	TextDrawLetterSize(TextdrawDis3, 0.300000, 2.000000);
	TextDrawColor(TextdrawDis3, -65281);
	TextDrawSetOutline(TextdrawDis3, 1);
	TextDrawSetProportional(TextdrawDis3, 1);
	
	TextdrawDis4 = TextDrawCreate(202.000000, 305.000000, "Most Died -");
	TextDrawBackgroundColor(TextdrawDis4, 255);
	TextDrawFont(TextdrawDis4, 3);
	TextDrawLetterSize(TextdrawDis4, 0.300000, 2.000000);
	TextDrawColor(TextdrawDis4, 16777215);
	TextDrawSetOutline(TextdrawDis4, 1);
	TextDrawSetProportional(TextdrawDis4, 1);
	
	TextdrawDis5 = TextDrawCreate(286.000000, 336.000000, "Press Jump-Button to Close");
	TextDrawBackgroundColor(TextdrawDis5, 255);
	TextDrawFont(TextdrawDis5, 1);
	TextDrawLetterSize(TextdrawDis5, 0.160000, 1.000000);
	TextDrawColor(TextdrawDis5, -1);
	TextDrawSetOutline(TextdrawDis5, 0);
	TextDrawSetProportional(TextdrawDis5, 1);
	TextDrawSetShadow(TextdrawDis5, 1);
Reply
#4

Looks good to me. Try commenting out one of those textdraws until you found your problem. Won't take so long.
Reply
#5

i shall try and tell you here..
Reply
#6

uhoh.. my box was actually made in the end.. in the script... damnit.. i put it first.. and it got fixed.. but i dont understand why the MOST DIED and Press Jump to remove this box are still above the box.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)