Selectable textdraws not working
#7

okay, i edited it now and it work but there are some problems in selecting TD it selects two TDs when i point at one TD like when i point at Derby deathmatches highlighting in normal deathmatches and the derby deathmatches..any one got idea about that?

Код:
SM1 = TextDrawCreate(178.038055, 132.416732, "Welcome to United Team Deathmatches");
TextDrawLetterSize(SM1, 0.585870, 2.708333);
TextDrawAlignment(SM1, 1);
TextDrawColor(SM1, -2147450625);
TextDrawSetShadow(SM1, 0);
TextDrawSetOutline(SM1, 1);
TextDrawBackgroundColor(SM1, 51);
TextDrawFont(SM1, 0);
TextDrawSetProportional(SM1, 1);

SM2 = TextDrawCreate(146.178634, 184.333343, "Team Deathmatches");
TextDrawLetterSize(SM2, 0.421418, 3.910001);
TextDrawTextSize(SM2, 302.196502, 189.583389);
TextDrawAlignment(SM2, 1);
TextDrawColor(SM2, -1);
TextDrawUseBox(SM2, true);
TextDrawBoxColor(SM2, -5963521);
TextDrawSetShadow(SM2, 0);
TextDrawSetOutline(SM2, 1);
TextDrawBackgroundColor(SM2, 51);
TextDrawFont(SM2, 3);
TextDrawSetProportional(SM2, 1);
TextDrawSetSelectable(SM2, true);

SM3 = TextDrawCreate(514.094482, 162.500091, "usebox");
TextDrawLetterSize(SM3, 0.000000, 21.310625);
TextDrawTextSize(SM3, 128.193252, 0.000000);
TextDrawAlignment(SM3, 1);
TextDrawColor(SM3, 0);
TextDrawUseBox(SM3, true);
TextDrawBoxColor(SM3, 102);
TextDrawSetShadow(SM3, 0);
TextDrawSetOutline(SM3, 0);
TextDrawBackgroundColor(SM3, 255);
TextDrawFont(SM3, 0);

SM4 = TextDrawCreate(356.076416, 180.833465, "Normal Deathmatches");
TextDrawLetterSize(SM4, 0.336616, 4.055837);
TextDrawTextSize(SM4, 494.290069, 169.166687);
TextDrawAlignment(SM4, 1);
TextDrawColor(SM4, -1);
TextDrawUseBox(SM4, true);
TextDrawBoxColor(SM4, -5963521);
TextDrawSetShadow(SM4, 0);
TextDrawSetOutline(SM4, 1);
TextDrawBackgroundColor(SM4, 51);
TextDrawFont(SM4, 3);
TextDrawSetProportional(SM4, 1);
TextDrawSetSelectable(SM4, true);

SM5 = TextDrawCreate(144.773086, 242.083282, "Airplane Deathmatches");
TextDrawLetterSize(SM5, 0.375503, 3.991670);
TextDrawTextSize(SM5, 302.196197, -142.916656);
TextDrawAlignment(SM5, 1);
TextDrawColor(SM5, -1);
TextDrawUseBox(SM5, true);
TextDrawBoxColor(SM5, -5963521);
TextDrawSetShadow(SM5, 0);
TextDrawSetOutline(SM5, 1);
TextDrawBackgroundColor(SM5, 51);
TextDrawFont(SM5, 3);
TextDrawSetProportional(SM5, 1);
TextDrawSetSelectable(SM5, true);

SM6 = TextDrawCreate(356.076171, 245.583343, "Derby Deathmatches");
TextDrawLetterSize(SM6, 0.362869, 3.851668);
TextDrawTextSize(SM6, 496.632385, 43.750000);
TextDrawAlignment(SM6, 1);
TextDrawColor(SM6, -1);
TextDrawUseBox(SM6, true);
TextDrawBoxColor(SM6, -5963521);
TextDrawSetShadow(SM6, 0);
TextDrawSetOutline(SM6, 1);
TextDrawBackgroundColor(SM6, 51);
TextDrawFont(SM6, 3);
TextDrawSetProportional(SM6, 1);
TextDrawSetSelectable(SM6, true);

SM7 = TextDrawCreate(144.773071, 300.416839, "Gang war deathmatches");
TextDrawLetterSize(SM7, 0.346939, 3.553352);
TextDrawTextSize(SM7, 300.322631, 44.333324);
TextDrawAlignment(SM7, 1);
TextDrawColor(SM7, -1);
TextDrawUseBox(SM7, true);
TextDrawBoxColor(SM7, -5963521);
TextDrawSetShadow(SM7, 0);
TextDrawSetOutline(SM7, 1);
TextDrawBackgroundColor(SM7, 51);
TextDrawFont(SM7, 3);
TextDrawSetProportional(SM7, 1);
TextDrawSetSelectable(SM7, true);

SM8 = TextDrawCreate(357.950012, 302.166625, "Freeroam");
TextDrawLetterSize(SM8, 0.527304, 3.075837);
TextDrawTextSize(SM8, 496.164550, 64.166656);
TextDrawAlignment(SM8, 1);
TextDrawColor(SM8, -1);
TextDrawUseBox(SM8, true);
TextDrawBoxColor(SM8, -5963521);
TextDrawSetShadow(SM8, 0);
TextDrawSetOutline(SM8, 1);
TextDrawBackgroundColor(SM8, 51);
TextDrawFont(SM8, 3);
TextDrawSetProportional(SM8, 1);
TextDrawSetSelectable(SM8, true);

SM9 = TextDrawCreate(146.178344, 338.916625, "Please Select Any Mode You Want");
TextDrawLetterSize(SM9, 0.449999, 1.600000);
TextDrawAlignment(SM9, 1);
TextDrawColor(SM9, -2139062017);
TextDrawSetShadow(SM9, 0);
TextDrawSetOutline(SM9, 1);
TextDrawBackgroundColor(SM9, 51);
TextDrawFont(SM9, 2);
TextDrawSetProportional(SM9, 1);
Reply


Messages In This Thread
Selectable textdraws not working[+REP] - by TheSperm - 16.03.2015, 14:01
Re: Selectable textdraws not working - by Stanford - 16.03.2015, 14:11
Re: Selectable textdraws not working - by hamzajaved780 - 16.03.2015, 14:17
Re: Selectable textdraws not working - by TheSperm - 16.03.2015, 14:22
Re: Selectable textdraws not working - by TheSperm - 17.03.2015, 18:42
Re: Selectable textdraws not working - by Matess - 17.03.2015, 18:57
Re: Selectable textdraws not working - by TheSperm - 17.03.2015, 23:12
Re: Selectable textdraws not working - by SickAttack - 18.03.2015, 00:30
Re: Selectable textdraws not working - by TheSperm - 18.03.2015, 17:09
Re: Selectable textdraws not working - by CalvinC - 18.03.2015, 17:10
Re: Selectable textdraws not working - by SickAttack - 18.03.2015, 17:13
Re: Selectable textdraws not working - by TheSperm - 18.03.2015, 18:01

Forum Jump:


Users browsing this thread: 4 Guest(s)