Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- -----------------------
- Tuning system by Adel
- -----------------------
- Credits: adri1 (I used his textdraw editor)
- */
- #include <a_samp>
- #define FILTERSCRIPT
- #pragma tabsize 0
- #define VEHCOLOR 200
- new Text:TDEditor_TD[56];
- new Text:TDEditor_PTD[MAX_PLAYERS][1];
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("Tuning system by Adel loaded");
- print("--------------------------------------\n");
- TDEditor_TD[0] = TextDrawCreate(386.799896, 179.546798, "box");
- TextDrawLetterSize(TDEditor_TD[0], 0.000000, 11.519994);
- TextDrawTextSize(TDEditor_TD[0], 109.999931, 0.000000);
- TextDrawAlignment(TDEditor_TD[0], 1);
- TextDrawColor(TDEditor_TD[0], -1);
- TextDrawUseBox(TDEditor_TD[0], 1);
- TextDrawBoxColor(TDEditor_TD[0], 255);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TextDrawSetOutline(TDEditor_TD[0], 0);
- TextDrawBackgroundColor(TDEditor_TD[0], 255);
- TextDrawFont(TDEditor_TD[0], 1);
- TextDrawSetProportional(TDEditor_TD[0], 1);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TDEditor_TD[1] = TextDrawCreate(116.399940, 163.866729, "box");
- TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.800000);
- TextDrawTextSize(TDEditor_TD[1], 300.400146, 0.000000);
- TextDrawAlignment(TDEditor_TD[1], 1);
- TextDrawColor(TDEditor_TD[1], -1);
- TextDrawUseBox(TDEditor_TD[1], 1);
- TextDrawBoxColor(TDEditor_TD[1], 255);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TextDrawSetOutline(TDEditor_TD[1], 0);
- TextDrawBackgroundColor(TDEditor_TD[1], 255);
- TextDrawFont(TDEditor_TD[1], 1);
- TextDrawSetProportional(TDEditor_TD[1], 1);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TDEditor_TD[2] = TextDrawCreate(118.800010, 162.373321, "tune_system_by_adel");
- TextDrawLetterSize(TDEditor_TD[2], 0.448000, 1.137066);
- TextDrawAlignment(TDEditor_TD[2], 1);
- TextDrawColor(TDEditor_TD[2], -5963521);
- TextDrawSetShadow(TDEditor_TD[2], 0);
- TextDrawSetOutline(TDEditor_TD[2], 0);
- TextDrawBackgroundColor(TDEditor_TD[2], 255);
- TextDrawFont(TDEditor_TD[2], 3);
- TextDrawSetProportional(TDEditor_TD[2], 1);
- TextDrawSetShadow(TDEditor_TD[2], 0);
- TDEditor_TD[3] = TextDrawCreate(312.399475, 163.866775, "box");
- TextDrawLetterSize(TDEditor_TD[3], 0.000000, 0.799996);
- TextDrawTextSize(TDEditor_TD[3], 379.599487, 0.000000);
- TextDrawAlignment(TDEditor_TD[3], 1);
- TextDrawColor(TDEditor_TD[3], -1);
- TextDrawUseBox(TDEditor_TD[3], 1);
- TextDrawBoxColor(TDEditor_TD[3], 255);
- TextDrawSetShadow(TDEditor_TD[3], 0);
- TextDrawSetOutline(TDEditor_TD[3], 0);
- TextDrawBackgroundColor(TDEditor_TD[3], 255);
- TextDrawFont(TDEditor_TD[3], 1);
- TextDrawSetProportional(TDEditor_TD[3], 1);
- TextDrawSetShadow(TDEditor_TD[3], 0);
- TDEditor_TD[4] = TextDrawCreate(329.200073, 161.626632, "exit");
- TextDrawLetterSize(TDEditor_TD[4], 0.442400, 1.159466);
- TextDrawTextSize(TDEditor_TD[4], 359.000122, 12.000000);
- TextDrawAlignment(TDEditor_TD[4], 1);
- TextDrawColor(TDEditor_TD[4], -1);
- TextDrawUseBox(TDEditor_TD[4], 1);
- TextDrawBoxColor(TDEditor_TD[4], -256);
- TextDrawSetShadow(TDEditor_TD[4], 0);
- TextDrawSetOutline(TDEditor_TD[4], 0);
- TextDrawBackgroundColor(TDEditor_TD[4], 255);
- TextDrawFont(TDEditor_TD[4], 3);
- TextDrawSetProportional(TDEditor_TD[4], 1);
- TextDrawSetShadow(TDEditor_TD[4], 0);
- TextDrawSetSelectable(TDEditor_TD[4], true);
- TDEditor_TD[5] = TextDrawCreate(218.799972, 191.493347, "COLOR");
- TextDrawLetterSize(TDEditor_TD[5], 0.411998, 1.293866);
- TextDrawTextSize(TDEditor_TD[5], 271.199981, 12.000000);
- TextDrawAlignment(TDEditor_TD[5], 1);
- TextDrawColor(TDEditor_TD[5], -1);
- TextDrawUseBox(TDEditor_TD[5], 1);
- TextDrawBoxColor(TDEditor_TD[5], -256);
- TextDrawSetShadow(TDEditor_TD[5], 0);
- TextDrawSetOutline(TDEditor_TD[5], 0);
- TextDrawBackgroundColor(TDEditor_TD[5], 255);
- TextDrawFont(TDEditor_TD[5], 2);
- TextDrawSetProportional(TDEditor_TD[5], 1);
- TextDrawSetShadow(TDEditor_TD[5], 0);
- TextDrawSetSelectable(TDEditor_TD[5], true);
- TDEditor_TD[6] = TextDrawCreate(216.399963, 207.920074, "WHEELS");
- TextDrawLetterSize(TDEditor_TD[6], 0.411998, 1.293866);
- TextDrawTextSize(TDEditor_TD[6], 268.799987, 12.000000);
- TextDrawAlignment(TDEditor_TD[6], 1);
- TextDrawColor(TDEditor_TD[6], -1);
- TextDrawUseBox(TDEditor_TD[6], 1);
- TextDrawBoxColor(TDEditor_TD[6], -256);
- TextDrawSetShadow(TDEditor_TD[6], 0);
- TextDrawSetOutline(TDEditor_TD[6], 0);
- TextDrawBackgroundColor(TDEditor_TD[6], 255);
- TextDrawFont(TDEditor_TD[6], 2);
- TextDrawSetProportional(TDEditor_TD[6], 1);
- TextDrawSetShadow(TDEditor_TD[6], 0);
- TextDrawSetSelectable(TDEditor_TD[6], true);
- TDEditor_TD[7] = TextDrawCreate(170.799850, 225.840133, "HYDRAULIC_SYSTEM");
- TextDrawLetterSize(TDEditor_TD[7], 0.411998, 1.293866);
- TextDrawTextSize(TDEditor_TD[7], 330.399871, 12.000000);
- TextDrawAlignment(TDEditor_TD[7], 1);
- TextDrawColor(TDEditor_TD[7], -1);
- TextDrawUseBox(TDEditor_TD[7], 1);
- TextDrawBoxColor(TDEditor_TD[7], -256);
- TextDrawSetShadow(TDEditor_TD[7], 0);
- TextDrawSetOutline(TDEditor_TD[7], 0);
- TextDrawBackgroundColor(TDEditor_TD[7], 255);
- TextDrawFont(TDEditor_TD[7], 2);
- TextDrawSetProportional(TDEditor_TD[7], 1);
- TextDrawSetShadow(TDEditor_TD[7], 0);
- TextDrawSetSelectable(TDEditor_TD[7], true);
- TDEditor_TD[8] = TextDrawCreate(222.799880, 243.013397, "NITRO");
- TextDrawLetterSize(TDEditor_TD[8], 0.411998, 1.293866);
- TextDrawTextSize(TDEditor_TD[8], 275.199951, 12.000000);
- TextDrawAlignment(TDEditor_TD[8], 1);
- TextDrawColor(TDEditor_TD[8], -1);
- TextDrawUseBox(TDEditor_TD[8], 1);
- TextDrawBoxColor(TDEditor_TD[8], -256);
- TextDrawSetShadow(TDEditor_TD[8], 0);
- TextDrawSetOutline(TDEditor_TD[8], 0);
- TextDrawBackgroundColor(TDEditor_TD[8], 255);
- TextDrawFont(TDEditor_TD[8], 2);
- TextDrawSetProportional(TDEditor_TD[8], 1);
- TextDrawSetShadow(TDEditor_TD[8], 0);
- TextDrawSetSelectable(TDEditor_TD[8], true);
- TDEditor_TD[9] = TextDrawCreate(413.999786, 176.560180, "VEHICLE");
- TextDrawLetterSize(TDEditor_TD[9], 0.411998, 1.293866);
- TextDrawTextSize(TDEditor_TD[9], 466.399841, 0.000000);
- TextDrawAlignment(TDEditor_TD[9], 1);
- TextDrawColor(TDEditor_TD[9], -1);
- TextDrawUseBox(TDEditor_TD[9], 1);
- TextDrawBoxColor(TDEditor_TD[9], -256);
- TextDrawSetShadow(TDEditor_TD[9], 0);
- TextDrawSetOutline(TDEditor_TD[9], 0);
- TextDrawBackgroundColor(TDEditor_TD[9], 255);
- TextDrawFont(TDEditor_TD[9], 2);
- TextDrawSetProportional(TDEditor_TD[9], 1);
- TextDrawSetShadow(TDEditor_TD[9], 0);
- TDEditor_TD[10] = TextDrawCreate(186.799880, 260.186737, "RANDOM_TUNING");
- TextDrawLetterSize(TDEditor_TD[10], 0.411998, 1.293866);
- TextDrawTextSize(TDEditor_TD[10], 318.399963, 12.000000);
- TextDrawAlignment(TDEditor_TD[10], 1);
- TextDrawColor(TDEditor_TD[10], -1);
- TextDrawUseBox(TDEditor_TD[10], 1);
- TextDrawBoxColor(TDEditor_TD[10], -256);
- TextDrawSetShadow(TDEditor_TD[10], 0);
- TextDrawSetOutline(TDEditor_TD[10], 0);
- TextDrawBackgroundColor(TDEditor_TD[10], 255);
- TextDrawFont(TDEditor_TD[10], 2);
- TextDrawSetProportional(TDEditor_TD[10], 1);
- TextDrawSetShadow(TDEditor_TD[10], 0);
- TextDrawSetSelectable(TDEditor_TD[10], true);
- TDEditor_TD[11] = TextDrawCreate(393.999908, 179.546630, "box");
- TextDrawLetterSize(TDEditor_TD[11], 0.000000, 0.800000);
- TextDrawTextSize(TDEditor_TD[11], 500.399749, 0.000000);
- TextDrawAlignment(TDEditor_TD[11], 1);
- TextDrawColor(TDEditor_TD[11], -1);
- TextDrawUseBox(TDEditor_TD[11], 1);
- TextDrawBoxColor(TDEditor_TD[11], 255);
- TextDrawSetShadow(TDEditor_TD[11], 0);
- TextDrawSetOutline(TDEditor_TD[11], 0);
- TextDrawBackgroundColor(TDEditor_TD[11], 255);
- TextDrawFont(TDEditor_TD[11], 1);
- TextDrawSetProportional(TDEditor_TD[11], 1);
- TextDrawSetShadow(TDEditor_TD[11], 0);
- TDEditor_TD[12] = TextDrawCreate(440.399902, 143.706726, "box");
- TextDrawLetterSize(TDEditor_TD[12], 0.000000, 23.439989);
- TextDrawTextSize(TDEditor_TD[12], 182.800033, 0.000000);
- TextDrawAlignment(TDEditor_TD[12], 1);
- TextDrawColor(TDEditor_TD[12], -1);
- TextDrawUseBox(TDEditor_TD[12], 1);
- TextDrawBoxColor(TDEditor_TD[12], 255);
- TextDrawSetShadow(TDEditor_TD[12], 0);
- TextDrawSetOutline(TDEditor_TD[12], 0);
- TextDrawBackgroundColor(TDEditor_TD[12], 255);
- TextDrawFont(TDEditor_TD[12], 1);
- TextDrawSetProportional(TDEditor_TD[12], 1);
- TextDrawSetShadow(TDEditor_TD[12], 0);
- TDEditor_TD[13] = TextDrawCreate(211.599975, 160.880050, "box");
- TextDrawLetterSize(TDEditor_TD[13], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[13], 266.799865, 30.000000);
- TextDrawAlignment(TDEditor_TD[13], 1);
- TextDrawColor(TDEditor_TD[13], -1);
- TextDrawUseBox(TDEditor_TD[13], 1);
- TextDrawBoxColor(TDEditor_TD[13], -1);
- TextDrawSetShadow(TDEditor_TD[13], 0);
- TextDrawSetOutline(TDEditor_TD[13], 0);
- TextDrawBackgroundColor(TDEditor_TD[13], 255);
- TextDrawFont(TDEditor_TD[13], 1);
- TextDrawSetProportional(TDEditor_TD[13], 1);
- TextDrawSetShadow(TDEditor_TD[13], 0);
- TextDrawSetSelectable(TDEditor_TD[13],true);
- TDEditor_TD[14] = TextDrawCreate(194.800140, 125.039916, "VEHICLE_COLOR");
- TextDrawLetterSize(TDEditor_TD[14], 0.479200, 1.263998);
- TextDrawAlignment(TDEditor_TD[14], 1);
- TextDrawColor(TDEditor_TD[14], -1);
- TextDrawSetShadow(TDEditor_TD[14], 0);
- TextDrawSetOutline(TDEditor_TD[14], 0);
- TextDrawBackgroundColor(TDEditor_TD[14], 255);
- TextDrawFont(TDEditor_TD[14], 3);
- TextDrawSetProportional(TDEditor_TD[14], 1);
- TextDrawSetShadow(TDEditor_TD[14], 0);
- TDEditor_TD[15] = TextDrawCreate(189.200057, 127.279853, "box");
- TextDrawLetterSize(TDEditor_TD[15], 0.000000, 1.120000);
- TextDrawTextSize(TDEditor_TD[15], 314.799713, 30.000000);
- TextDrawAlignment(TDEditor_TD[15], 1);
- TextDrawColor(TDEditor_TD[15], -1);
- TextDrawUseBox(TDEditor_TD[15], 1);
- TextDrawBoxColor(TDEditor_TD[15], 255);
- TextDrawSetShadow(TDEditor_TD[15], 0);
- TextDrawSetOutline(TDEditor_TD[15], 0);
- TextDrawBackgroundColor(TDEditor_TD[15], 255);
- TextDrawFont(TDEditor_TD[15], 2);
- TextDrawSetProportional(TDEditor_TD[15], 1);
- TextDrawSetShadow(TDEditor_TD[15], 0);
- TDEditor_TD[16] = TextDrawCreate(372.399200, 127.279838, "box");
- TextDrawLetterSize(TDEditor_TD[16], 0.000000, 1.120000);
- TextDrawTextSize(TDEditor_TD[16], 433.198638, 30.000000);
- TextDrawAlignment(TDEditor_TD[16], 1);
- TextDrawColor(TDEditor_TD[16], -1);
- TextDrawUseBox(TDEditor_TD[16], 1);
- TextDrawBoxColor(TDEditor_TD[16], 255);
- TextDrawSetShadow(TDEditor_TD[16], 0);
- TextDrawSetOutline(TDEditor_TD[16], 0);
- TextDrawBackgroundColor(TDEditor_TD[16], 255);
- TextDrawFont(TDEditor_TD[16], 2);
- TextDrawSetProportional(TDEditor_TD[16], 1);
- TextDrawSetShadow(TDEditor_TD[16], 0);
- TDEditor_TD[17] = TextDrawCreate(387.600036, 125.786514, "exit");
- TextDrawLetterSize(TDEditor_TD[17], 0.479200, 1.263998);
- TextDrawTextSize(TDEditor_TD[17], 419.999847, 9.000000);
- TextDrawAlignment(TDEditor_TD[17], 1);
- TextDrawColor(TDEditor_TD[17], -1);
- TextDrawUseBox(TDEditor_TD[17], 1);
- TextDrawBoxColor(TDEditor_TD[17], -256);
- TextDrawSetShadow(TDEditor_TD[17], 0);
- TextDrawSetOutline(TDEditor_TD[17], 0);
- TextDrawBackgroundColor(TDEditor_TD[17], 255);
- TextDrawFont(TDEditor_TD[17], 3);
- TextDrawSetProportional(TDEditor_TD[17], 1);
- TextDrawSetShadow(TDEditor_TD[17], 0);
- TextDrawSetSelectable(TDEditor_TD[17], true);
- TDEditor_TD[18] = TextDrawCreate(283.600036, 160.880035, "box");
- TextDrawLetterSize(TDEditor_TD[18], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[18], 339.599914, 30.000000);
- TextDrawAlignment(TDEditor_TD[18], 1);
- TextDrawColor(TDEditor_TD[18], -1);
- TextDrawUseBox(TDEditor_TD[18], 1);
- TextDrawBoxColor(TDEditor_TD[18], -16776961);
- TextDrawSetShadow(TDEditor_TD[18], 0);
- TextDrawSetOutline(TDEditor_TD[18], 0);
- TextDrawBackgroundColor(TDEditor_TD[18], 255);
- TextDrawFont(TDEditor_TD[18], 1);
- TextDrawSetProportional(TDEditor_TD[18], 1);
- TextDrawSetShadow(TDEditor_TD[18], 0);
- TextDrawSetSelectable(TDEditor_TD[18],true);
- TDEditor_TD[19] = TextDrawCreate(356.399871, 160.880035, "box");
- TextDrawLetterSize(TDEditor_TD[19], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[19], 412.399749, 30.000000);
- TextDrawAlignment(TDEditor_TD[19], 1);
- TextDrawColor(TDEditor_TD[19], -1);
- TextDrawUseBox(TDEditor_TD[19], 1);
- TextDrawBoxColor(TDEditor_TD[19], -5963521);
- TextDrawSetShadow(TDEditor_TD[19], 0);
- TextDrawSetOutline(TDEditor_TD[19], 0);
- TextDrawBackgroundColor(TDEditor_TD[19], 255);
- TextDrawFont(TDEditor_TD[19], 1);
- TextDrawSetProportional(TDEditor_TD[19], 1);
- TextDrawSetShadow(TDEditor_TD[19], 0);
- TextDrawSetSelectable(TDEditor_TD[19],true);
- TDEditor_TD[20] = TextDrawCreate(356.399871, 217.626770, "box");
- TextDrawLetterSize(TDEditor_TD[20], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[20], 412.399749, 30.000000);
- TextDrawAlignment(TDEditor_TD[20], 1);
- TextDrawColor(TDEditor_TD[20], -1);
- TextDrawUseBox(TDEditor_TD[20], 1);
- TextDrawBoxColor(TDEditor_TD[20], -65281);
- TextDrawSetShadow(TDEditor_TD[20], 0);
- TextDrawSetOutline(TDEditor_TD[20], 0);
- TextDrawBackgroundColor(TDEditor_TD[20], 255);
- TextDrawFont(TDEditor_TD[20], 1);
- TextDrawSetProportional(TDEditor_TD[20], 1);
- TextDrawSetShadow(TDEditor_TD[20], 0);
- TextDrawSetSelectable(TDEditor_TD[20],true);
- TDEditor_TD[21] = TextDrawCreate(355.599914, 272.880462, "box");
- TextDrawLetterSize(TDEditor_TD[21], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[21], 411.599792, 30.000000);
- TextDrawAlignment(TDEditor_TD[21], 1);
- TextDrawColor(TDEditor_TD[21], -1);
- TextDrawUseBox(TDEditor_TD[21], 1);
- TextDrawBoxColor(TDEditor_TD[21], 16711935);
- TextDrawSetShadow(TDEditor_TD[21], 0);
- TextDrawSetOutline(TDEditor_TD[21], 0);
- TextDrawBackgroundColor(TDEditor_TD[21], 255);
- TextDrawFont(TDEditor_TD[21], 1);
- TextDrawSetProportional(TDEditor_TD[21], 1);
- TextDrawSetShadow(TDEditor_TD[21], 0);
- TextDrawSetSelectable(TDEditor_TD[21],true);
- TDEditor_TD[22] = TextDrawCreate(283.600067, 216.880508, "box");
- TextDrawLetterSize(TDEditor_TD[22], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[22], 339.599945, 30.000000);
- TextDrawAlignment(TDEditor_TD[22], 1);
- TextDrawColor(TDEditor_TD[22], -1);
- TextDrawUseBox(TDEditor_TD[22], 1);
- TextDrawBoxColor(TDEditor_TD[22], -1073807105);
- TextDrawSetShadow(TDEditor_TD[22], 0);
- TextDrawSetOutline(TDEditor_TD[22], 0);
- TextDrawBackgroundColor(TDEditor_TD[22], 255);
- TextDrawFont(TDEditor_TD[22], 1);
- TextDrawSetProportional(TDEditor_TD[22], 1);
- TextDrawSetShadow(TDEditor_TD[22], 0);
- TextDrawSetSelectable(TDEditor_TD[22],true);
- TDEditor_TD[23] = TextDrawCreate(211.600082, 216.133895, "box");
- TextDrawLetterSize(TDEditor_TD[23], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[23], 267.599884, 30.000000);
- TextDrawAlignment(TDEditor_TD[23], 1);
- TextDrawColor(TDEditor_TD[23], -1);
- TextDrawUseBox(TDEditor_TD[23], 1);
- TextDrawBoxColor(TDEditor_TD[23], 12582911);
- TextDrawSetShadow(TDEditor_TD[23], 0);
- TextDrawSetOutline(TDEditor_TD[23], 0);
- TextDrawBackgroundColor(TDEditor_TD[23], 255);
- TextDrawFont(TDEditor_TD[23], 1);
- TextDrawSetProportional(TDEditor_TD[23], 1);
- TextDrawSetShadow(TDEditor_TD[23], 0);
- TextDrawSetSelectable(TDEditor_TD[23],true);
- TDEditor_TD[24] = TextDrawCreate(211.600067, 272.880798, "box");
- TextDrawLetterSize(TDEditor_TD[24], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[24], 267.599945, 30.000000);
- TextDrawAlignment(TDEditor_TD[24], 1);
- TextDrawColor(TDEditor_TD[24], -1);
- TextDrawUseBox(TDEditor_TD[24], 1);
- TextDrawBoxColor(TDEditor_TD[24], -30488321);
- TextDrawSetShadow(TDEditor_TD[24], 0);
- TextDrawSetOutline(TDEditor_TD[24], 0);
- TextDrawBackgroundColor(TDEditor_TD[24], 255);
- TextDrawFont(TDEditor_TD[24], 1);
- TextDrawSetProportional(TDEditor_TD[24], 1);
- TextDrawSetShadow(TDEditor_TD[24], 0);
- TextDrawSetSelectable(TDEditor_TD[24],true);
- TDEditor_TD[25] = TextDrawCreate(283.600189, 272.880798, "box");
- TextDrawLetterSize(TDEditor_TD[25], 0.000000, 4.640003);
- TextDrawTextSize(TDEditor_TD[25], 339.599975, 30.000000);
- TextDrawAlignment(TDEditor_TD[25], 1);
- TextDrawColor(TDEditor_TD[25], -1);
- TextDrawUseBox(TDEditor_TD[25], 1);
- TextDrawBoxColor(TDEditor_TD[25], -1708196097);
- TextDrawSetShadow(TDEditor_TD[25], 0);
- TextDrawSetOutline(TDEditor_TD[25], 0);
- TextDrawBackgroundColor(TDEditor_TD[25], 255);
- TextDrawFont(TDEditor_TD[13], 1);
- TextDrawSetProportional(TDEditor_TD[25], 1);
- TextDrawSetShadow(TDEditor_TD[25], 0);
- TextDrawSetSelectable(TDEditor_TD[25],true);
- TDEditor_TD[26] = TextDrawCreate(247.600021, 334.106781, "enter_your_color");
- TextDrawLetterSize(TDEditor_TD[26], 0.456800, 1.323732);
- TextDrawTextSize(TDEditor_TD[26], 379.000183, 9.000000);
- TextDrawAlignment(TDEditor_TD[26], 1);
- TextDrawColor(TDEditor_TD[26], -1);
- TextDrawUseBox(TDEditor_TD[26], 1);
- TextDrawBoxColor(TDEditor_TD[26], -256);
- TextDrawSetShadow(TDEditor_TD[26], 0);
- TextDrawSetOutline(TDEditor_TD[26], 0);
- TextDrawBackgroundColor(TDEditor_TD[26], 255);
- TextDrawFont(TDEditor_TD[26], 3);
- TextDrawSetProportional(TDEditor_TD[26], 1);
- TextDrawSetShadow(TDEditor_TD[26], 0);
- TextDrawSetSelectable(TDEditor_TD[26], true);
- //WHEELS
- TDEditor_TD[27] = TextDrawCreate(150.000061, 167.599960, "box");
- TextDrawLetterSize(TDEditor_TD[27], 0.000000, 21.519992);
- TextDrawTextSize(TDEditor_TD[27], 496.399688, 0.000000);
- TextDrawAlignment(TDEditor_TD[27], 1);
- TextDrawColor(TDEditor_TD[27], -1);
- TextDrawUseBox(TDEditor_TD[27], 1);
- TextDrawBoxColor(TDEditor_TD[27], 255);
- TextDrawSetShadow(TDEditor_TD[27], 0);
- TextDrawSetOutline(TDEditor_TD[27], 0);
- TextDrawBackgroundColor(TDEditor_TD[27], 255);
- TextDrawFont(TDEditor_TD[27], 1);
- TextDrawSetProportional(TDEditor_TD[27], 1);
- TextDrawSetShadow(TDEditor_TD[27], 0);
- TDEditor_TD[28] = TextDrawCreate(150.000015, 151.173355, "box");
- TextDrawLetterSize(TDEditor_TD[28], 0.000000, 0.959999);
- TextDrawTextSize(TDEditor_TD[28], 263.599853, 0.000000);
- TextDrawAlignment(TDEditor_TD[28], 1);
- TextDrawColor(TDEditor_TD[28], -1);
- TextDrawUseBox(TDEditor_TD[28], 1);
- TextDrawBoxColor(TDEditor_TD[28], 255);
- TextDrawSetShadow(TDEditor_TD[28], 0);
- TextDrawSetOutline(TDEditor_TD[28], 0);
- TextDrawBackgroundColor(TDEditor_TD[28], 255);
- TextDrawFont(TDEditor_TD[28], 1);
- TextDrawSetProportional(TDEditor_TD[28], 1);
- TextDrawSetShadow(TDEditor_TD[28], 0);
- TDEditor_TD[29] = TextDrawCreate(179.599960, 149.679946, "Wheels");
- TextDrawLetterSize(TDEditor_TD[29], 0.439999, 1.166931);
- TextDrawAlignment(TDEditor_TD[29], 1);
- TextDrawColor(TDEditor_TD[29], -1);
- TextDrawSetShadow(TDEditor_TD[29], 0);
- TextDrawSetOutline(TDEditor_TD[29], 0);
- TextDrawBackgroundColor(TDEditor_TD[29], 255);
- TextDrawFont(TDEditor_TD[29], 3);
- TextDrawSetProportional(TDEditor_TD[29], 1);
- TextDrawSetShadow(TDEditor_TD[29], 0);
- TDEditor_TD[30] = TextDrawCreate(417.200042, 151.173324, "box");
- TextDrawLetterSize(TDEditor_TD[30], 0.000000, 0.959999);
- TextDrawTextSize(TDEditor_TD[30], 494.799987, 0.000000);
- TextDrawAlignment(TDEditor_TD[30], 1);
- TextDrawColor(TDEditor_TD[30], -1);
- TextDrawUseBox(TDEditor_TD[30], 1);
- TextDrawBoxColor(TDEditor_TD[30], 255);
- TextDrawSetShadow(TDEditor_TD[30], 0);
- TextDrawSetOutline(TDEditor_TD[30], 0);
- TextDrawBackgroundColor(TDEditor_TD[30], 255);
- TextDrawFont(TDEditor_TD[30], 1);
- TextDrawSetProportional(TDEditor_TD[30], 1);
- TextDrawSetShadow(TDEditor_TD[30], 0);
- TDEditor_TD[31] = TextDrawCreate(440.400146, 148.933288, "exit");
- TextDrawLetterSize(TDEditor_TD[31], 0.439999, 1.166931);
- TextDrawTextSize(TDEditor_TD[31], 468.600189, 9.000000);
- TextDrawAlignment(TDEditor_TD[31], 1);
- TextDrawColor(TDEditor_TD[31], -1);
- TextDrawSetShadow(TDEditor_TD[31], 0);
- TextDrawSetOutline(TDEditor_TD[31], 0);
- TextDrawBackgroundColor(TDEditor_TD[31], 255);
- TextDrawFont(TDEditor_TD[31], 3);
- TextDrawSetProportional(TDEditor_TD[31], 1);
- TextDrawSetShadow(TDEditor_TD[31], 0);
- TextDrawSetSelectable(TDEditor_TD[31],true);
- TDEditor_TD[32] = TextDrawCreate(166.000045, 182.533233, "box");
- TextDrawLetterSize(TDEditor_TD[32], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[32], 230.000000, 0.000000);
- TextDrawAlignment(TDEditor_TD[32], 1);
- TextDrawColor(TDEditor_TD[32], -1);
- TextDrawUseBox(TDEditor_TD[32], 1);
- TextDrawBoxColor(TDEditor_TD[32], -1378294017);
- TextDrawSetShadow(TDEditor_TD[32], 0);
- TextDrawSetOutline(TDEditor_TD[32], 0);
- TextDrawBackgroundColor(TDEditor_TD[32], 255);
- TextDrawFont(TDEditor_TD[32], 1);
- TextDrawSetProportional(TDEditor_TD[32], 1);
- TextDrawSetShadow(TDEditor_TD[32], 0);
- TDEditor_TD[33] = TextDrawCreate(161.800094, 177.399963, "");
- TextDrawLetterSize(TDEditor_TD[33], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[33], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[33], 1);
- TextDrawColor(TDEditor_TD[33], -1);
- TextDrawSetShadow(TDEditor_TD[33], 0);
- TextDrawSetOutline(TDEditor_TD[33], 0);
- TextDrawBackgroundColor(TDEditor_TD[33], -256);
- TextDrawFont(TDEditor_TD[33], 5);
- TextDrawSetProportional(TDEditor_TD[33], 1);
- TextDrawSetShadow(TDEditor_TD[33], 0);
- TextDrawSetSelectable(TDEditor_TD[33], true);
- TextDrawSetPreviewModel(TDEditor_TD[33], 1073);
- TextDrawSetPreviewRot(TDEditor_TD[33], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[33],true);
- TDEditor_TD[34] = TextDrawCreate(247.600051, 182.533248, "box");
- TextDrawLetterSize(TDEditor_TD[34], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[34], 311.599914, 0.000000);
- TextDrawAlignment(TDEditor_TD[34], 1);
- TextDrawColor(TDEditor_TD[34], -1);
- TextDrawUseBox(TDEditor_TD[34], 1);
- TextDrawBoxColor(TDEditor_TD[34], -1378294017);
- TextDrawSetShadow(TDEditor_TD[34], 0);
- TextDrawSetOutline(TDEditor_TD[34], 0);
- TextDrawBackgroundColor(TDEditor_TD[34], 255);
- TextDrawFont(TDEditor_TD[34], 1);
- TextDrawSetProportional(TDEditor_TD[34], 1);
- TextDrawSetShadow(TDEditor_TD[34], 0);
- TDEditor_TD[35] = TextDrawCreate(330.000030, 182.533248, "box");
- TextDrawLetterSize(TDEditor_TD[35], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[35], 393.999877, 0.000000);
- TextDrawAlignment(TDEditor_TD[35], 1);
- TextDrawColor(TDEditor_TD[35], -1);
- TextDrawUseBox(TDEditor_TD[35], 1);
- TextDrawBoxColor(TDEditor_TD[35], -1378294017);
- TextDrawSetShadow(TDEditor_TD[35], 0);
- TextDrawSetOutline(TDEditor_TD[35], 0);
- TextDrawBackgroundColor(TDEditor_TD[35], 255);
- TextDrawFont(TDEditor_TD[35], 1);
- TextDrawSetProportional(TDEditor_TD[35], 1);
- TextDrawSetShadow(TDEditor_TD[35], 0);
- TDEditor_TD[36] = TextDrawCreate(414.000091, 182.533264, "box");
- TextDrawLetterSize(TDEditor_TD[36], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[36], 477.999938, 0.000000);
- TextDrawAlignment(TDEditor_TD[36], 1);
- TextDrawColor(TDEditor_TD[36], -1);
- TextDrawUseBox(TDEditor_TD[36], 1);
- TextDrawBoxColor(TDEditor_TD[36], -1378294017);
- TextDrawSetShadow(TDEditor_TD[36], 0);
- TextDrawSetOutline(TDEditor_TD[36], 0);
- TextDrawBackgroundColor(TDEditor_TD[36], 255);
- TextDrawFont(TDEditor_TD[36], 1);
- TextDrawSetProportional(TDEditor_TD[36], 1);
- TextDrawSetShadow(TDEditor_TD[36], 0);
- TDEditor_TD[37] = TextDrawCreate(414.000091, 239.280120, "box");
- TextDrawLetterSize(TDEditor_TD[37], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[37], 477.999938, 0.000000);
- TextDrawAlignment(TDEditor_TD[37], 1);
- TextDrawColor(TDEditor_TD[37], -1);
- TextDrawUseBox(TDEditor_TD[37], 1);
- TextDrawBoxColor(TDEditor_TD[37], -1378294017);
- TextDrawSetShadow(TDEditor_TD[37], 0);
- TextDrawSetOutline(TDEditor_TD[37], 0);
- TextDrawBackgroundColor(TDEditor_TD[37], 255);
- TextDrawFont(TDEditor_TD[37], 1);
- TextDrawSetProportional(TDEditor_TD[37], 1);
- TextDrawSetShadow(TDEditor_TD[37], 0);
- TDEditor_TD[38] = TextDrawCreate(330.800201, 239.280120, "box");
- TextDrawLetterSize(TDEditor_TD[38], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[38], 394.800048, 0.000000);
- TextDrawAlignment(TDEditor_TD[38], 1);
- TextDrawColor(TDEditor_TD[38], -1);
- TextDrawUseBox(TDEditor_TD[38], 1);
- TextDrawBoxColor(TDEditor_TD[38], -1378294017);
- TextDrawSetShadow(TDEditor_TD[38], 0);
- TextDrawSetOutline(TDEditor_TD[38], 0);
- TextDrawBackgroundColor(TDEditor_TD[38], 255);
- TextDrawFont(TDEditor_TD[38], 1);
- TextDrawSetProportional(TDEditor_TD[38], 1);
- TextDrawSetShadow(TDEditor_TD[38], 0);
- TDEditor_TD[39] = TextDrawCreate(247.600250, 239.280120, "box");
- TextDrawLetterSize(TDEditor_TD[39], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[39], 311.600067, 0.000000);
- TextDrawAlignment(TDEditor_TD[39], 1);
- TextDrawColor(TDEditor_TD[39], -1);
- TextDrawUseBox(TDEditor_TD[39], 1);
- TextDrawBoxColor(TDEditor_TD[39], -1378294017);
- TextDrawSetShadow(TDEditor_TD[39], 0);
- TextDrawSetOutline(TDEditor_TD[39], 0);
- TextDrawBackgroundColor(TDEditor_TD[39], 255);
- TextDrawFont(TDEditor_TD[39], 1);
- TextDrawSetProportional(TDEditor_TD[39], 1);
- TextDrawSetShadow(TDEditor_TD[39], 0);
- TDEditor_TD[40] = TextDrawCreate(165.200302, 240.773452, "box");
- TextDrawLetterSize(TDEditor_TD[40], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[40], 229.200057, 0.000000);
- TextDrawAlignment(TDEditor_TD[40], 1);
- TextDrawColor(TDEditor_TD[40], -1);
- TextDrawUseBox(TDEditor_TD[40], 1);
- TextDrawBoxColor(TDEditor_TD[40], -1378294017);
- TextDrawSetShadow(TDEditor_TD[40], 0);
- TextDrawSetOutline(TDEditor_TD[40], 0);
- TextDrawBackgroundColor(TDEditor_TD[40], 255);
- TextDrawFont(TDEditor_TD[40], 1);
- TextDrawSetProportional(TDEditor_TD[40], 1);
- TextDrawSetShadow(TDEditor_TD[40], 0);
- TDEditor_TD[41] = TextDrawCreate(165.200302, 297.520324, "box");
- TextDrawLetterSize(TDEditor_TD[41], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[41], 229.200057, 0.000000);
- TextDrawAlignment(TDEditor_TD[41], 1);
- TextDrawColor(TDEditor_TD[41], -1);
- TextDrawUseBox(TDEditor_TD[41], 1);
- TextDrawBoxColor(TDEditor_TD[41], -1378294017);
- TextDrawSetShadow(TDEditor_TD[41], 0);
- TextDrawSetOutline(TDEditor_TD[41], 0);
- TextDrawBackgroundColor(TDEditor_TD[41], 255);
- TextDrawFont(TDEditor_TD[41], 1);
- TextDrawSetProportional(TDEditor_TD[41], 1);
- TextDrawSetShadow(TDEditor_TD[41], 0);
- TDEditor_TD[42] = TextDrawCreate(247.600280, 297.520324, "box");
- TextDrawLetterSize(TDEditor_TD[42], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[42], 311.600097, 0.000000);
- TextDrawAlignment(TDEditor_TD[42], 1);
- TextDrawColor(TDEditor_TD[42], -1);
- TextDrawUseBox(TDEditor_TD[42], 1);
- TextDrawBoxColor(TDEditor_TD[42], -1378294017);
- TextDrawSetShadow(TDEditor_TD[42], 0);
- TextDrawSetOutline(TDEditor_TD[42], 0);
- TextDrawBackgroundColor(TDEditor_TD[42], 255);
- TextDrawFont(TDEditor_TD[42], 1);
- TextDrawSetProportional(TDEditor_TD[42], 1);
- TextDrawSetShadow(TDEditor_TD[42], 0);
- TDEditor_TD[43] = TextDrawCreate(330.800323, 297.520324, "box");
- TextDrawLetterSize(TDEditor_TD[43], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[43], 394.800079, 0.000000);
- TextDrawAlignment(TDEditor_TD[43], 1);
- TextDrawColor(TDEditor_TD[43], -1);
- TextDrawUseBox(TDEditor_TD[43], 1);
- TextDrawBoxColor(TDEditor_TD[43], -1378294017);
- TextDrawSetShadow(TDEditor_TD[43], 0);
- TextDrawSetOutline(TDEditor_TD[43], 0);
- TextDrawBackgroundColor(TDEditor_TD[43], 255);
- TextDrawFont(TDEditor_TD[43], 1);
- TextDrawSetProportional(TDEditor_TD[43], 1);
- TextDrawSetShadow(TDEditor_TD[43], 0);
- TDEditor_TD[44] = TextDrawCreate(414.000396, 297.520324, "box");
- TextDrawLetterSize(TDEditor_TD[44], 0.000000, 4.639999);
- TextDrawTextSize(TDEditor_TD[44], 478.000152, 0.000000);
- TextDrawAlignment(TDEditor_TD[44], 1);
- TextDrawColor(TDEditor_TD[44], -1);
- TextDrawUseBox(TDEditor_TD[44], 1);
- TextDrawBoxColor(TDEditor_TD[44], -1378294017);
- TextDrawSetShadow(TDEditor_TD[44], 0);
- TextDrawSetOutline(TDEditor_TD[44], 0);
- TextDrawBackgroundColor(TDEditor_TD[44], 255);
- TextDrawFont(TDEditor_TD[44], 1);
- TextDrawSetProportional(TDEditor_TD[44], 1);
- TextDrawSetShadow(TDEditor_TD[44], 0);
- TDEditor_TD[45] = TextDrawCreate(243.400161, 177.399948, "");
- TextDrawLetterSize(TDEditor_TD[45], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[45], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[45], 1);
- TextDrawColor(TDEditor_TD[45], -1);
- TextDrawSetShadow(TDEditor_TD[45], 0);
- TextDrawSetOutline(TDEditor_TD[45], 0);
- TextDrawBackgroundColor(TDEditor_TD[45], -256);
- TextDrawFont(TDEditor_TD[45], 5);
- TextDrawSetProportional(TDEditor_TD[45], 1);
- TextDrawSetShadow(TDEditor_TD[45], 0);
- TextDrawSetSelectable(TDEditor_TD[45], true);
- TextDrawSetPreviewModel(TDEditor_TD[45], 1074);
- TextDrawSetPreviewRot(TDEditor_TD[45], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[45],true);
- TDEditor_TD[46] = TextDrawCreate(326.600158, 177.399948, "");
- TextDrawLetterSize(TDEditor_TD[46], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[46], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[46], 1);
- TextDrawColor(TDEditor_TD[46], -1);
- TextDrawSetShadow(TDEditor_TD[46], 0);
- TextDrawSetOutline(TDEditor_TD[46], 0);
- TextDrawBackgroundColor(TDEditor_TD[46], -256);
- TextDrawFont(TDEditor_TD[46], 5);
- TextDrawSetProportional(TDEditor_TD[46], 1);
- TextDrawSetShadow(TDEditor_TD[46], 0);
- TextDrawSetSelectable(TDEditor_TD[46], true);
- TextDrawSetPreviewModel(TDEditor_TD[46], 1075);
- TextDrawSetPreviewRot(TDEditor_TD[46], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[46],true);
- TDEditor_TD[47] = TextDrawCreate(410.600158, 177.399932, "");
- TextDrawLetterSize(TDEditor_TD[47], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[47], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[47], 1);
- TextDrawColor(TDEditor_TD[47], -1);
- TextDrawSetShadow(TDEditor_TD[47], 0);
- TextDrawSetOutline(TDEditor_TD[47], 0);
- TextDrawBackgroundColor(TDEditor_TD[47], -256);
- TextDrawFont(TDEditor_TD[47], 5);
- TextDrawSetProportional(TDEditor_TD[47], 1);
- TextDrawSetShadow(TDEditor_TD[47], 0);
- TextDrawSetSelectable(TDEditor_TD[47], true);
- TextDrawSetPreviewModel(TDEditor_TD[47], 1076);
- TextDrawSetPreviewRot(TDEditor_TD[47], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[47],true);
- TDEditor_TD[48] = TextDrawCreate(161.000106, 236.386627, "");
- TextDrawLetterSize(TDEditor_TD[48], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[48], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[48], 1);
- TextDrawColor(TDEditor_TD[48], -1);
- TextDrawSetShadow(TDEditor_TD[48], 0);
- TextDrawSetOutline(TDEditor_TD[48], 0);
- TextDrawBackgroundColor(TDEditor_TD[48], -256);
- TextDrawFont(TDEditor_TD[48], 5);
- TextDrawSetProportional(TDEditor_TD[48], 1);
- TextDrawSetShadow(TDEditor_TD[48], 0);
- TextDrawSetSelectable(TDEditor_TD[48], true);
- TextDrawSetPreviewModel(TDEditor_TD[48], 1078);
- TextDrawSetPreviewRot(TDEditor_TD[48], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[48],true);
- TDEditor_TD[49] = TextDrawCreate(243.400070, 234.146621, "");
- TextDrawLetterSize(TDEditor_TD[49], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[49], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[49], 1);
- TextDrawColor(TDEditor_TD[49], -1);
- TextDrawSetShadow(TDEditor_TD[49], 0);
- TextDrawSetOutline(TDEditor_TD[49], 0);
- TextDrawBackgroundColor(TDEditor_TD[49], -256);
- TextDrawFont(TDEditor_TD[49], 5);
- TextDrawSetProportional(TDEditor_TD[49], 1);
- TextDrawSetShadow(TDEditor_TD[49], 0);
- TextDrawSetSelectable(TDEditor_TD[49], true);
- TextDrawSetPreviewModel(TDEditor_TD[49], 1079);
- TextDrawSetPreviewRot(TDEditor_TD[49], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[49],true);
- TDEditor_TD[50] = TextDrawCreate(325.000183, 234.146621, "");
- TextDrawLetterSize(TDEditor_TD[50], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[50], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[50], 1);
- TextDrawColor(TDEditor_TD[50], -1);
- TextDrawSetShadow(TDEditor_TD[50], 0);
- TextDrawSetOutline(TDEditor_TD[50], 0);
- TextDrawBackgroundColor(TDEditor_TD[50], -256);
- TextDrawFont(TDEditor_TD[50], 5);
- TextDrawSetProportional(TDEditor_TD[50], 1);
- TextDrawSetShadow(TDEditor_TD[50], 0);
- TextDrawSetSelectable(TDEditor_TD[50], true);
- TextDrawSetPreviewModel(TDEditor_TD[50], 1080);
- TextDrawSetPreviewRot(TDEditor_TD[50], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[50],true);
- TDEditor_TD[51] = TextDrawCreate(409.000213, 234.146621, "");
- TextDrawLetterSize(TDEditor_TD[51], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[51], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[51], 1);
- TextDrawColor(TDEditor_TD[51], -1);
- TextDrawSetShadow(TDEditor_TD[51], 0);
- TextDrawSetOutline(TDEditor_TD[51], 0);
- TextDrawBackgroundColor(TDEditor_TD[51], -256);
- TextDrawFont(TDEditor_TD[51], 5);
- TextDrawSetProportional(TDEditor_TD[51], 1);
- TextDrawSetShadow(TDEditor_TD[51], 0);
- TextDrawSetSelectable(TDEditor_TD[51], true);
- TextDrawSetPreviewModel(TDEditor_TD[51], 1081);
- TextDrawSetPreviewRot(TDEditor_TD[51], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[51],true);
- TDEditor_TD[52] = TextDrawCreate(161.800231, 292.386810, "");
- TextDrawLetterSize(TDEditor_TD[52], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[52], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[52], 1);
- TextDrawColor(TDEditor_TD[52], -1);
- TextDrawSetShadow(TDEditor_TD[52], 0);
- TextDrawSetOutline(TDEditor_TD[52], 0);
- TextDrawBackgroundColor(TDEditor_TD[52], -256);
- TextDrawFont(TDEditor_TD[52], 5);
- TextDrawSetProportional(TDEditor_TD[52], 1);
- TextDrawSetShadow(TDEditor_TD[52], 0);
- TextDrawSetSelectable(TDEditor_TD[52], true);
- TextDrawSetPreviewModel(TDEditor_TD[52], 1082);
- TextDrawSetPreviewRot(TDEditor_TD[52], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[52],true);
- TDEditor_TD[53] = TextDrawCreate(244.200241, 292.386810, "");
- TextDrawLetterSize(TDEditor_TD[53], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[53], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[53], 1);
- TextDrawColor(TDEditor_TD[53], -1);
- TextDrawSetShadow(TDEditor_TD[53], 0);
- TextDrawSetOutline(TDEditor_TD[53], 0);
- TextDrawBackgroundColor(TDEditor_TD[53], -256);
- TextDrawFont(TDEditor_TD[53], 5);
- TextDrawSetProportional(TDEditor_TD[53], 1);
- TextDrawSetShadow(TDEditor_TD[53], 0);
- TextDrawSetSelectable(TDEditor_TD[53], true);
- TextDrawSetPreviewModel(TDEditor_TD[53], 1083);
- TextDrawSetPreviewRot(TDEditor_TD[53], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[53],true);
- TDEditor_TD[54] = TextDrawCreate(327.400177, 292.386810, "");
- TextDrawLetterSize(TDEditor_TD[54], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[54], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[54], 1);
- TextDrawColor(TDEditor_TD[54], -1);
- TextDrawSetShadow(TDEditor_TD[54], 0);
- TextDrawSetOutline(TDEditor_TD[54], 0);
- TextDrawBackgroundColor(TDEditor_TD[54], -256);
- TextDrawFont(TDEditor_TD[54], 5);
- TextDrawSetProportional(TDEditor_TD[54], 1);
- TextDrawSetShadow(TDEditor_TD[54], 0);
- TextDrawSetSelectable(TDEditor_TD[54], true);
- TextDrawSetPreviewModel(TDEditor_TD[54], 1084);
- TextDrawSetPreviewRot(TDEditor_TD[54], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[54],true);
- TDEditor_TD[55] = TextDrawCreate(410.600128, 292.386810, "");
- TextDrawLetterSize(TDEditor_TD[55], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_TD[55], 70.799957, 51.919998);
- TextDrawAlignment(TDEditor_TD[55], 1);
- TextDrawColor(TDEditor_TD[55], -1);
- TextDrawSetShadow(TDEditor_TD[55], 0);
- TextDrawSetOutline(TDEditor_TD[55], 0);
- TextDrawBackgroundColor(TDEditor_TD[55], -256);
- TextDrawFont(TDEditor_TD[55], 5);
- TextDrawSetProportional(TDEditor_TD[55], 1);
- TextDrawSetShadow(TDEditor_TD[55], 0);
- TextDrawSetSelectable(TDEditor_TD[55], true);
- TextDrawSetPreviewModel(TDEditor_TD[55], 1085);
- TextDrawSetPreviewRot(TDEditor_TD[55], 0.000000, 0.000000, -90.000000, 1.000000);
- TextDrawSetSelectable(TDEditor_TD[55],true);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- TDEditor_PTD[i][0] = TextDrawCreate(390.599792, 195.319946, "");
- TextDrawLetterSize(TDEditor_PTD[i][0], 0.000000, 0.000000);
- TextDrawTextSize(TDEditor_PTD[i][0], 113.199966, 78.800025);
- TextDrawAlignment(TDEditor_PTD[i][0], 1);
- TextDrawColor(TDEditor_PTD[i][0], -1);
- TextDrawSetShadow(TDEditor_PTD[i][0], 0);
- TextDrawSetOutline(TDEditor_PTD[i][0], 0);
- TextDrawBackgroundColor(TDEditor_PTD[i][0], -1378294017);
- TextDrawFont(TDEditor_PTD[i][0], 5);
- TextDrawSetProportional(TDEditor_PTD[i][0], 1);
- TextDrawSetShadow(TDEditor_PTD[i][0], 0);
- TextDrawSetPreviewModel(TDEditor_PTD[i][0], 495);
- TextDrawSetPreviewRot(TDEditor_PTD[i][0], 1.000000, 0.000000, -35.000000, 1.000000);
- TextDrawSetPreviewVehCol(TDEditor_PTD[i][0], 3, 3);
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print("");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp("/tune", cmdtext, true, 10) == 0)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- for(new i = 0; i < 12; i++)
- {
- new veh = GetVehicleModel(GetPlayerVehicleID(playerid));
- TextDrawSetPreviewModel(TDEditor_PTD[playerid][0], veh);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- TextDrawShowForPlayer(playerid,TDEditor_TD[i]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- else
- {
- SendClientMessage(playerid,-1,"You must be in vehicle.");
- }
- return 1;
- }
- if(strcmp("/vehicle", cmdtext, true, 8) == 0)
- {
- new Float:x,Float:y,Float:z,Float:a;
- GetPlayerPos(playerid,x,y,z);
- GetPlayerFacingAngle(playerid,a);
- CreateVehicle(560, x, y+2, z, a, 0,0, 600);
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- if(clickedid == TDEditor_TD[4])
- {
- for(new i = 0; i < 12; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- TextDrawHideForPlayer(playerid,TDEditor_PTD[playerid][0]);
- CancelSelectTextDraw(playerid);
- }
- }
- if(clickedid == TDEditor_TD[5])
- {
- for(new s = 0; s < 12; s++)
- {
- CancelSelectTextDraw(playerid);
- TextDrawHideForPlayer(playerid,TDEditor_TD[s]);
- TextDrawHideForPlayer(playerid,TDEditor_PTD[playerid][0]);
- }
- for(new i = 12; i < 27; i++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[i]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[26])
- {
- ShowPlayerDialog(playerid,VEHCOLOR,DIALOG_STYLE_INPUT,"Color","Enter your vehicle color:","Ok","Exit");
- }
- if(clickedid == TDEditor_TD[18])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 3,3);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[19])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 6,6);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[20])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 194,194);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[21])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 128,128);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[22])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 226,226);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[23])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 2,2);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[24])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 126,126);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[25])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 167,167);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[13])
- {
- ChangeVehicleColor(GetPlayerVehicleID(playerid), 1,1);
- SendClientMessage(playerid,-1,"Color changed.");
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[17])
- {
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[7])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
- SendClientMessage(playerid,-1,"Hydraulic system added.");
- }
- if(clickedid == TDEditor_TD[8])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- SendClientMessage(playerid,-1,"Nitro added.");
- }
- if(clickedid == TDEditor_TD[6])
- {
- for(new s = 0; s < 12; s++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[s]);
- TextDrawHideForPlayer(playerid,TDEditor_PTD[playerid][0]);
- CancelSelectTextDraw(playerid);
- }
- for(new i = 27; i < 56; i++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[i]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[33])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1073);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[45])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1074);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[46])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1075);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[47])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1076);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[48])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1078);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[49])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[50])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1080);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[51])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1081);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[52])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1082);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[53])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1083);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[54])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1084);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[55])
- {
- AddVehicleComponent(GetPlayerVehicleID(playerid),1085);
- SendClientMessage(playerid,-1,"Wheels added.");
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[31])
- {
- for(new i = 27; i < 56; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- if(clickedid == TDEditor_TD[10])
- {
- new s = GetVehicleModel(GetPlayerVehicleID(playerid));
- RandomTuning(playerid,s);
- }
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == VEHCOLOR)
- {
- if(response)
- {
- SendClientMessage(playerid,-1,"Color changed.");
- ChangeVehicleColor(GetPlayerVehicleID(playerid),strval(inputtext),strval(inputtext));
- for(new i = 12; i < 27; i++)
- {
- TextDrawHideForPlayer(playerid,TDEditor_TD[i]);
- CancelSelectTextDraw(playerid);
- }
- for(new s = 0; s < 12; s++)
- {
- TextDrawShowForPlayer(playerid,TDEditor_TD[s]);
- TextDrawShowForPlayer(playerid,TDEditor_PTD[playerid][0]);
- SelectTextDraw(playerid,0xFFBF00FF);
- }
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- stock randomm(min, max)
- {
- new rand = random(max-min)+min;
- return rand;
- }
- stock RandomTuning(playerid,vehiclemodel)
- {
- new vehicle = GetPlayerVehicleID(playerid);
- if(vehiclemodel == 560)
- {
- new gume = randomm(1074,1086);
- AddVehicleComponent(vehicle,gume);
- new sideskirt = randomm(1026,1028);
- AddVehicleComponent(vehicle,sideskirt);
- new sideskirtt = randomm(1030,1032);
- AddVehicleComponent(vehicle,sideskirtt);
- new exh = randomm(1028,1030);
- AddVehicleComponent(vehicle,exh);
- new roof = randomm(1032,1034);
- AddVehicleComponent(vehicle,roof);
- new spojler = randomm(1138,1140);
- AddVehicleComponent(vehicle,spojler);
- new bumber = randomm(1140,1142);
- AddVehicleComponent(vehicle,bumber);
- new bumberr = randomm(1169,1171);
- AddVehicleComponent(vehicle,bumberr);
- AddVehicleComponent(vehicle,1010);
- AddVehicleComponent(vehicle,1087);
- new boja = randomm(0,256);
- ChangeVehicleColor(vehicle,boja,boja);
- }
- else
- {
- new wheels = randomm(1074,1086);
- AddVehicleComponent(vehicle,wheels);
- AddVehicleComponent(vehicle,1010);
- AddVehicleComponent(vehicle,1087);
- new color = randomm(0,256);
- ChangeVehicleColor(vehicle,color,color);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment