All textdraws are selecting!
#5

Quote:
Originally Posted by [NWA]Hannes
View Post
I assume you have all of that text in the same textdraw, show us your code please.

You will have to use TextDrawCreate and assign it to a Text:Whatever for every different piece of text you want to select.

It could also be that you have royally fucked up one of your textdraws, making its box cover the others.
I fiddled with it to try and fix it, and this is the code. Now it only lets me select vagos and fast food
The textdraws are:
Code:
	Grove = TextDrawCreate(15.666670, 331.436981, "Grove Street");
	TextDrawLetterSize(Grove, 0.449999, 1.600000);
	TextDrawTextSize(Grove, 118.666656, -68.859283);
	TextDrawAlignment(Grove, 1);
	TextDrawColor(Grove, 8388863);
	TextDrawUseBox(Grove, true);
	TextDrawBoxColor(Grove, 0);
	TextDrawSetShadow(Grove, 0);
	TextDrawSetOutline(Grove, 1);
	TextDrawBackgroundColor(Grove, 51);
	TextDrawFont(Grove, 1);
	TextDrawSetProportional(Grove, 1);

	Ballas = TextDrawCreate(135.666702, 331.851837, "Ballas Families");
	TextDrawLetterSize(Ballas, 0.449999, 1.600000);
	TextDrawTextSize(Ballas, 249.333343, -1.244444);
	TextDrawAlignment(Ballas, 1);
	TextDrawColor(Ballas, -2147450625);
	TextDrawUseBox(Ballas, true);
	TextDrawBoxColor(Ballas, 0);
	TextDrawSetShadow(Ballas, 0);
	TextDrawSetOutline(Ballas, 1);
	TextDrawBackgroundColor(Ballas, 51);
	TextDrawFont(Ballas, 1);
	TextDrawSetProportional(Ballas, 1);

	FastFood = TextDrawCreate(268.000091, 332.266723, "Fast Food");
	TextDrawLetterSize(FastFood, 0.449999, 1.600000);
	TextDrawTextSize(FastFood, 347.000000, 7.881481);
	TextDrawAlignment(FastFood, 1);
	TextDrawColor(FastFood, -5963521);
	TextDrawUseBox(FastFood, true);
	TextDrawBoxColor(FastFood, 0);
	TextDrawSetShadow(FastFood, 0);
	TextDrawSetOutline(FastFood, 1);
	TextDrawBackgroundColor(FastFood, 51);
	TextDrawFont(FastFood, 1);
	TextDrawSetProportional(FastFood, 1);

	Girls = TextDrawCreate(365.333435, 332.681640, "Girly Girls");
	TextDrawLetterSize(Girls, 0.449999, 1.600000);
	TextDrawTextSize(Girls, 448.333343, -5.392592);
	TextDrawAlignment(Girls, 1);
	TextDrawColor(Girls, -16711681);
	TextDrawUseBox(Girls, true);
	TextDrawBoxColor(Girls, 0);
	TextDrawSetShadow(Girls, 0);
	TextDrawSetOutline(Girls, 1);
	TextDrawBackgroundColor(Girls, 51);
	TextDrawFont(Girls, 1);
	TextDrawSetProportional(Girls, 1);

	LSPD = TextDrawCreate(465.000122, 333.511199, "LSPD");
	TextDrawLetterSize(LSPD, 0.449999, 1.600000);
	TextDrawTextSize(LSPD, 501.333343, -0.829629);
	TextDrawAlignment(LSPD, 1);
	TextDrawColor(LSPD, 41215);
	TextDrawUseBox(LSPD, true);
	TextDrawBoxColor(LSPD, 0);
	TextDrawSetShadow(LSPD, 0);
	TextDrawSetOutline(LSPD, 1);
	TextDrawBackgroundColor(LSPD, 51);
	TextDrawFont(LSPD, 1);
	TextDrawSetProportional(LSPD, 1);

	Vagos = TextDrawCreate(522.333435, 334.340698, "Vagos");
	TextDrawLetterSize(Vagos, 0.449999, 1.600000);
	TextDrawTextSize(Vagos, 571.333312, 89.599983);
	TextDrawAlignment(Vagos, 1);
	TextDrawColor(Vagos, -65281);
	TextDrawUseBox(Vagos, true);
	TextDrawBoxColor(Vagos, 0);
	TextDrawSetShadow(Vagos, 0);
	TextDrawSetOutline(Vagos, 1);
	TextDrawBackgroundColor(Vagos, 51);
	TextDrawFont(Vagos, 1);
	TextDrawSetProportional(Vagos, 1);

	Hobo = TextDrawCreate(588.666564, 334.340789, "Hobo");
	TextDrawLetterSize(Hobo, 0.449999, 1.600000);
	TextDrawTextSize(Hobo, 631.999877, -18.666669);
	TextDrawAlignment(Hobo, 1);
	TextDrawColor(Hobo, -1523963137);
	TextDrawUseBox(Hobo, true);
	TextDrawBoxColor(Hobo, 0);
	TextDrawSetShadow(Hobo, 0);
	TextDrawSetOutline(Hobo, 1);
	TextDrawBackgroundColor(Hobo, 51);
	TextDrawFont(Hobo, 1);
	TextDrawSetProportional(Hobo, 1);
I made the box pure colour to see where they are and this is what it looks like:
Reply


Messages In This Thread
All textdraws are selecting! - by Pawnify - 01.03.2016, 19:58
Re: All textdraws are selecting! - by ikey07 - 01.03.2016, 20:00
Re: All textdraws are selecting! - by Pawnify - 01.03.2016, 20:04
Re: All textdraws are selecting! - by [NWA]Hannes - 01.03.2016, 20:21
Re: All textdraws are selecting! - by Pawnify - 01.03.2016, 20:31
Re: All textdraws are selecting! - by Pawnify - 01.03.2016, 21:16
Re: All textdraws are selecting! - by ZToPMaN - 01.03.2016, 23:47
Re: All textdraws are selecting! - by Pawnify - 01.03.2016, 23:56

Forum Jump:


Users browsing this thread: 1 Guest(s)