Advertisement
Guest User

Juan Vargas

a guest
Apr 12th, 2009
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.44 KB | None | 0 0
  1. //You can tune any car with /tune helicopter tuning will make you crash");
  2. //Original Car tuning By Lucas Aka Rsts
  3. //New Edited edition by Juan Vargas
  4. //I edited the file and made every car modable only can paint any car,put any tires,or nitro,bass boost,or hydrolics
  5. //I only take half credit i only did some i made all cars modable can be moded by hydrolics,nitro,wheels,and bass note:bikes cannot be modded with nos it will crash
  6.  
  7. //----------------------------------- CHANGE LOG--------------------------------------------------------------------
  8. // Cleaned up a bit by kaisersouse 4/11/2008
  9. // 29.04.2008 removed pragma and defined propertly
  10. // In next version Transfender vehicle part will be included
  11. #include <a_samp>
  12.  
  13.  
  14. #define FILTERSCRIPT
  15.  
  16. #define COLOR_GREY 0xAFAFAFAA
  17. #define COLOR_GREY 0xAFAFAFAA// INFO text messages
  18. #define COLOR_GREEN 0x33AA33AA
  19. #define COLOR_RED 0xAA3333AA
  20. #define COLOR_YELLOW 0xFFFF00AA// warning messages
  21. #define COLOR_WHITE 0xFFFFFFAA
  22. #define COLOR_LIGHTGREEN 0x7FFF00
  23. #define COLOR_DARKGREEN 0x006400
  24. #define COLOR_LIGHTBLUE 0x91C8FF//Server text messages
  25. #define COLOR_ORANGE 0xFF9900AA
  26. #define COLOR_GROUPTALK 0x87CEEBAA // SKYBLUE
  27. #define COLOR_MENU 0xFFFFFFAA // WHITE (FFFFFF) menu's (/help)
  28. #define COLOR_SYSTEM_PM 0x66CC00AA // LIGHT GREEN
  29. #define COLOR_SYSTEM_PW 0xFFFF33AA // YELLOW
  30.  
  31.  
  32.  
  33.  
  34. #if defined FILTERSCRIPT
  35.  
  36. //--------------------------Main Menu ----------------------------------------------------------------------------
  37. new Menu:TuningMenu;
  38. new Menu:TuningMenu1;
  39. new Menu:Paintjobs;
  40. new Menu:Colors;
  41. new Menu:Colors1;
  42. new Menu:Exhausts;
  43. new Menu:Frontbumper;
  44. new Menu:Rearbumper;
  45. new Menu:Roof;
  46. new Menu:Spoilers;
  47. new Menu:Sideskirts;
  48. new Menu:Bullbars;
  49. new Menu:Wheels;
  50. new Menu:Wheels1;
  51. new Menu:Carstereo;
  52. //--------------------------Main Menu page 2 ----------------------------------------------------------------------------
  53. new Menu:Hydraulics;
  54. new Menu:Nitro;
  55.  
  56. static pvehicleid[MAX_PLAYERS]; // array containing players vehicle id (loaded when player enters as driver)
  57. static pmodelid[MAX_PLAYERS]; // array containing players vehicle MODEL id (loaded when player enters as driver)
  58.  
  59.  
  60. public OnFilterScriptInit()
  61. {
  62.  
  63.  
  64. print("\n--------------------------------------");
  65. print("you can tune any car with /tune except choppers it will make you crash");
  66. print("");
  67. print("");
  68. print("");
  69. print("--------------------------------------\n");
  70.  
  71. //--------------------------Main Menu -----------------------------------------
  72. TuningMenu = CreateMenu("TuningMenu",1,20,120,150,40);
  73. AddMenuItem(TuningMenu,0,"Paint Jobs");
  74. AddMenuItem(TuningMenu,0,"Colors");
  75. AddMenuItem(TuningMenu,0,"Exhausts");
  76. AddMenuItem(TuningMenu,0,"Front Bumper");
  77. AddMenuItem(TuningMenu,0,"Rear Bumper");
  78. AddMenuItem(TuningMenu,0,"Roof");
  79. AddMenuItem(TuningMenu,0,"Spoilers");
  80. AddMenuItem(TuningMenu,0,"Side Skirts");
  81. AddMenuItem(TuningMenu,0,"Bullbars");
  82. AddMenuItem(TuningMenu,0,"Wheels");
  83. AddMenuItem(TuningMenu,0,"Car Stereo");
  84. AddMenuItem(TuningMenu,0,"Next Page");
  85. Paintjobs = CreateMenu("TuningMenu",1,20,120,150,40);
  86. SetMenuColumnHeader(Paintjobs,0,"PaintJobs");
  87. AddMenuItem(Paintjobs,0,"Paintjob 1");
  88. AddMenuItem(Paintjobs,0,"Paintjob 2");
  89. AddMenuItem(Paintjobs,0,"Paintjob 3");
  90. AddMenuItem(Paintjobs,0,"Paintjob 4");
  91. AddMenuItem(Paintjobs,0,"Paintjob 5");
  92. AddMenuItem(Paintjobs,0,"Main Menu");
  93. Colors = CreateMenu("TuningMenu",1,20,120,150,40);
  94. SetMenuColumnHeader(Colors,0,"Colors");
  95. AddMenuItem(Colors,0,"Black");
  96. AddMenuItem(Colors,0,"White");
  97. AddMenuItem(Colors,0,"Red");
  98. AddMenuItem(Colors,0,"Blue");
  99. AddMenuItem(Colors,0,"Green");
  100. AddMenuItem(Colors,0,"Yellow");
  101. AddMenuItem(Colors,0,"Pink");
  102. AddMenuItem(Colors,0,"Brown");
  103. AddMenuItem(Colors,0,"Next Page");
  104. Colors1 = CreateMenu("TuningMenu",1,20,120,150,40);
  105. SetMenuColumnHeader(Colors1,0,"Colors");
  106. AddMenuItem(Colors1,0,"Grey");
  107. AddMenuItem(Colors1,0,"Gold");
  108. AddMenuItem(Colors1,0,"Dark Blue");
  109. AddMenuItem(Colors1,0,"Light Blue");
  110. AddMenuItem(Colors1,0,"Green");
  111. AddMenuItem(Colors1,0,"Light Grey");
  112. AddMenuItem(Colors1,0,"Dark Red");
  113. AddMenuItem(Colors1,0,"Dark Brown");
  114. AddMenuItem(Colors1,0,"Main Menu");
  115. Exhausts = CreateMenu("TuningMenu",1,20,120,150,40);
  116. SetMenuColumnHeader(Exhausts,0,"Exhausts");
  117. AddMenuItem(Exhausts,0,"Wheel Arch Alien Exhaust");
  118. AddMenuItem(Exhausts,0,"Wheel Arch X-Flow Exhaust");
  119. AddMenuItem(Exhausts,0,"Locos Low Chromer Exhaust");
  120. AddMenuItem(Exhausts,0,"Locos Low Slamin Exhaust");
  121. AddMenuItem(Exhausts,0,"Main Menu");
  122. Frontbumper = CreateMenu("TuningMenu",1,20,120,150,40);
  123. SetMenuColumnHeader(Frontbumper,0,"Frontbumpers");
  124. AddMenuItem(Frontbumper,0,"Wheel Arch Alien bumper");
  125. AddMenuItem(Frontbumper,0,"Wheel Arch X-Flow bumper");
  126. AddMenuItem(Frontbumper,0,"Locos Low Chromer bumper");
  127. AddMenuItem(Frontbumper,0,"Locos Low Slamin bumper");
  128. AddMenuItem(Frontbumper,0,"Main Menu");
  129. Rearbumper = CreateMenu("TuningMenu",1,20,120,150,40);
  130. SetMenuColumnHeader(Rearbumper,0,"Rearbumpers");
  131. AddMenuItem(Rearbumper,0,"Wheel Arch Alien bumper");
  132. AddMenuItem(Rearbumper,0,"Wheel Arch X-Flow bumper");
  133. AddMenuItem(Rearbumper,0,"Locos Low Chromer bumper");
  134. AddMenuItem(Rearbumper,0,"Locos Low Slamin bumper");
  135. AddMenuItem(Rearbumper,0,"Main Menu");
  136. Roof = CreateMenu("TuningMenu",1,20,120,150,40);
  137. SetMenuColumnHeader(Roof,0,"Roof");
  138. AddMenuItem(Roof,0,"Wheel Arch Alien Roof Vent");
  139. AddMenuItem(Roof,0,"Wheel Arch X-Flow Roof Vent");
  140. AddMenuItem(Roof,0,"Locos Low Hardtop Roof");
  141. AddMenuItem(Roof,0,"Locos Low Softtop Roof");
  142. AddMenuItem(Roof,0,"Main Menu");
  143. Spoilers = CreateMenu("TuningMenu",1,20,120,150,40);
  144. SetMenuColumnHeader(Spoilers,0,"Spoliers");
  145. AddMenuItem(Spoilers,0,"Alien Spoiler");
  146. AddMenuItem(Spoilers,0,"X-Flow Spoiler");
  147. AddMenuItem(Spoilers,0,"Main Menu");
  148. Sideskirts = CreateMenu("TuningMenu",1,20,120,150,40);
  149. SetMenuColumnHeader(Sideskirts,0,"SideSkirts");
  150. AddMenuItem(Sideskirts,0,"Wheel Arch Alien Side Skirts");
  151. AddMenuItem(Sideskirts,0,"Wheel Arch X-Flow Side Skirts");
  152. AddMenuItem(Sideskirts,0,"Locos Low Chrome Strip");
  153. AddMenuItem(Sideskirts,0,"Locos Low Chrome Flames");
  154. AddMenuItem(Sideskirts,0,"Locos Low Chrome Arches");
  155. AddMenuItem(Sideskirts,0,"Locos Low Chrome Trim");
  156. AddMenuItem(Sideskirts,0,"Locos Low Wheelcovers");
  157. AddMenuItem(Sideskirts,0,"Main Menu");
  158. Bullbars = CreateMenu("TuningMenu",1,20,120,150,40);
  159. SetMenuColumnHeader(Bullbars,0,"Bullbars");
  160. AddMenuItem(Bullbars,0,"Locos Low Chrome Grill");
  161. AddMenuItem(Bullbars,0,"Locos Low Chrome Bars");
  162. AddMenuItem(Bullbars,0,"Locos Low Chrome Lights");
  163. AddMenuItem(Bullbars,0,"Locos Low Chrome Bullbar");
  164. AddMenuItem(Bullbars,0,"Main Menu");
  165. Wheels = CreateMenu("TuningMenu",1,20,120,150,40);
  166. SetMenuColumnHeader(Wheels,0,"Wheels");
  167. AddMenuItem(Wheels,0,"Offroad");
  168. AddMenuItem(Wheels,0,"Mega");
  169. AddMenuItem(Wheels,0,"Wires");
  170. AddMenuItem(Wheels,0,"Twist");
  171. AddMenuItem(Wheels,0,"Grove");
  172. AddMenuItem(Wheels,0,"Import");
  173. AddMenuItem(Wheels,0,"Atomic");
  174. AddMenuItem(Wheels,0,"Ahab");
  175. AddMenuItem(Wheels,0,"Virtual");
  176. AddMenuItem(Wheels,0,"Access");
  177. AddMenuItem(Wheels,0,"Next Page");
  178. AddMenuItem(Wheels,0,"Main Menu");
  179. Wheels1 = CreateMenu("TuningMenu",1,20,120,150,40);
  180. SetMenuColumnHeader(Wheels1,0,"Wheels");
  181. AddMenuItem(Wheels1,0,"Trance");
  182. AddMenuItem(Wheels1,0,"Shadow");
  183. AddMenuItem(Wheels1,0,"Rimshine");
  184. AddMenuItem(Wheels1,0,"Classic");
  185. AddMenuItem(Wheels1,0,"Cutter");
  186. AddMenuItem(Wheels1,0,"Switch");
  187. AddMenuItem(Wheels1,0,"Dollar");
  188. AddMenuItem(Wheels1,0,"Main Menu");
  189. Carstereo = CreateMenu("TuningMenu",1,20,120,150,40);
  190. SetMenuColumnHeader(Carstereo,0,"Stereo");
  191. AddMenuItem(Carstereo,0,"Bass Boost");
  192. AddMenuItem(Carstereo,0,"Main Menu");
  193. //-------------------------Main Menu page 2 ------------------------------------
  194.  
  195. TuningMenu1= CreateMenu("TuningMenu",1,20,120,150,40);
  196. AddMenuItem(TuningMenu1,0,"Hydraulics");
  197. AddMenuItem(TuningMenu1,0,"Nitro");
  198. AddMenuItem(TuningMenu1,0,"Repair Car");
  199. AddMenuItem(TuningMenu1,0,"Main Menu");
  200. Hydraulics = CreateMenu("TuningMenu",1,20,120,150,40);
  201. SetMenuColumnHeader(Hydraulics,0,"Hydraulics");
  202. AddMenuItem(Hydraulics,0,"Hydraulics");
  203. AddMenuItem(Hydraulics,0,"Main Menu");
  204. Nitro = CreateMenu("TuningMenu",1,20,120,150,40);
  205. SetMenuColumnHeader(Nitro,0,"Nitro");
  206. AddMenuItem(Nitro,0,"2x Nitrous");
  207. AddMenuItem(Nitro,0,"5x Nitrous");
  208. AddMenuItem(Nitro,0,"10x Nitrous");
  209. AddMenuItem(Nitro,0,"Main Menu");
  210. return 1;
  211. }
  212.  
  213. public OnFilterScriptExit()
  214. {
  215. DestroyMenu(TuningMenu);
  216. DestroyMenu(TuningMenu1);
  217. DestroyMenu(Paintjobs);
  218. DestroyMenu(Colors);
  219. DestroyMenu(Colors1);
  220. DestroyMenu(Exhausts);
  221. DestroyMenu(Frontbumper);
  222. DestroyMenu(Rearbumper);
  223. DestroyMenu(Roof);
  224. DestroyMenu(Spoilers);
  225. DestroyMenu(Sideskirts);
  226. DestroyMenu(Bullbars);
  227. DestroyMenu(Wheels);
  228. DestroyMenu(Wheels1);
  229. DestroyMenu(Carstereo);
  230. DestroyMenu(Hydraulics);
  231. DestroyMenu(Nitro);
  232. return 1;
  233. }
  234.  
  235. #else
  236.  
  237. main()
  238. {
  239. print("\n----------------------------------");
  240. print(" ");
  241. print("----------------------------------\n");
  242. }
  243.  
  244. #endif
  245.  
  246. public OnPlayerConnect(playerid)
  247. {
  248. SendClientMessage(playerid,COLOR_YELLOW," ....You can tune any car with /tune.... ");
  249. SendClientMessage(playerid,COLOR_LIGHTBLUE," ..Original Car tuning By Lucas Aka Rsts.. ");
  250. SendClientMessage(playerid,COLOR_GREY,"..::New Edited edition by Juan Vargas::..");
  251. pvehicleid[playerid] = GetPlayerVehicleID(playerid);
  252. pvehicleid[playerid] = 0;
  253. pmodelid[playerid] = 0;
  254. return 1;
  255. }
  256.  
  257. public OnPlayerStateChange(playerid, newstate, oldstate) {
  258. if(newstate == PLAYER_STATE_DRIVER) {
  259. pvehicleid[playerid] = GetPlayerVehicleID(playerid);
  260. pmodelid[playerid] = GetVehicleModel(pvehicleid[playerid]);
  261. }
  262. else {
  263. pvehicleid[playerid] = 0;
  264. pmodelid[playerid] = 0;
  265. }
  266. return 1;
  267. }
  268.  
  269.  
  270.  
  271.  
  272. GetVehicleWithinDistance( playerid, Float:x1, Float:y1, Float:z1, Float:dist, &vehic){
  273. for(new i = 1; i < MAX_VEHICLES; i++){
  274. if(GetVehicleModel(i) > 0){
  275. if(GetPlayerVehicleID(playerid) != i ){
  276. new Float:x, Float:y, Float:z;
  277. new Float:x2, Float:y2, Float:z2;
  278. GetVehiclePos(i, x, y, z);
  279. x2 = x1 - x; y2 = y1 - y; z2 = z1 - z;
  280. new Float:iDist = (x2*x2+y2*y2+z2*z2);
  281. printf("Vehicle %d is %f", i, iDist);
  282.  
  283. if( iDist < dist){
  284. vehic = i;
  285. }
  286. }
  287. }
  288. }
  289. }
  290. #pragma unused GetVehicleWithinDistance
  291.  
  292.  
  293. public OnPlayerCommandText(playerid, cmdtext[]) {
  294. if(strcmp(cmdtext, "/tune", true) == 0) {
  295. new playerstate = GetPlayerState(playerid);
  296. if(playerstate == PLAYER_STATE_DRIVER) {
  297. return ModCar(playerid);
  298. }
  299. else {
  300. return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot modify/tune a car unless you are the driver.");
  301. }
  302. }
  303. return 0;
  304. }
  305. //------------------------All car that are allowed to mod------------------------------------------------------------
  306. // Put here all car's id's yo want to be modable
  307. // NOTE: DO NOT TRY TO ALLOW OR MOD BOATS ; PLANES OR OTHER NON CARS.THAT WIL CAUSE YOUR SERVER CRASH
  308. forward ModCar(playerid);
  309. public ModCar(playerid) { // changed to switch method to reduce processor load on server
  310. // new modelid = GetVehicleModel(GetPlayerVehicleID(playerid)); // this executes a fair amt of stuff, so running it once to populate variable (modelid),THEN checking variable, makes more sense
  311. switch(pmodelid[playerid]) {
  312. case 400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,
  313. 427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,
  314. 456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,
  315. 485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,
  316. 514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,
  317. 543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,
  318. 572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,
  319. 601,602,603,604,605,606,607,608,609,610,611: {
  320. ShowMenuForPlayer(TuningMenu, playerid);
  321. TogglePlayerControllable(playerid,0);
  322. return SendClientMessage(playerid, COLOR_WHITE, "[INFO] Select an item and push the SPACEBAR to approve.");
  323. }
  324. default: return SendClientMessage(playerid,COLOR_RED,"[WARNING] You are not allowed to modify/tune this vehicle");
  325. }
  326. return 1;
  327. }
  328.  
  329.  
  330. public OnPlayerExitedMenu(playerid)
  331. {
  332. new Menu:Current = GetPlayerMenu(playerid);
  333. HideMenuForPlayer(Current, playerid);
  334. TogglePlayerControllable(playerid, true);
  335. SendClientMessage(playerid,COLOR_YELLOW,"[INFO] You Have Modified Your Car.");
  336. return 1;
  337. }
  338. public OnPlayerSelectedMenuRow(playerid, row)
  339. {
  340. new Menu:Current = GetPlayerMenu(playerid);
  341. if(Current == TuningMenu) {
  342. switch(row){
  343. case 0: ShowMenuForPlayer(Paintjobs, playerid);
  344. case 1: ShowMenuForPlayer(Colors, playerid);
  345. case 2: ShowMenuForPlayer(Exhausts, playerid);
  346. case 3:ShowMenuForPlayer(Frontbumper, playerid);
  347. case 4:ShowMenuForPlayer(Rearbumper, playerid);
  348. case 5:ShowMenuForPlayer(Roof, playerid);
  349. case 6:ShowMenuForPlayer(Spoilers, playerid);
  350. case 7:ShowMenuForPlayer(Sideskirts, playerid);
  351. case 8:ShowMenuForPlayer(Bullbars, playerid);
  352. case 9:ShowMenuForPlayer(Wheels, playerid);
  353. case 10:ShowMenuForPlayer(Carstereo, playerid);
  354. case 11:ShowMenuForPlayer(TuningMenu1, playerid);
  355. }
  356. }
  357. if(Current == Paintjobs) {
  358. switch(row){
  359. case 0:
  360. if(pmodelid[playerid] == 562 ||
  361. pmodelid[playerid] == 565 ||
  362. pmodelid[playerid] == 559 ||
  363. pmodelid[playerid] == 561 ||
  364. pmodelid[playerid] == 560 ||
  365. pmodelid[playerid] == 575 ||
  366. pmodelid[playerid] == 534 || // Broadway
  367. pmodelid[playerid] == 567 ||
  368. pmodelid[playerid] == 536 ||
  369. pmodelid[playerid] == 535 ||
  370. pmodelid[playerid] == 576 ||
  371. pmodelid[playerid] == 558)
  372. {
  373. new car = GetPlayerVehicleID(playerid);
  374. ChangeVehiclePaintjob(car,0);
  375. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car");
  376. ShowMenuForPlayer(Paintjobs, playerid);
  377. }
  378. else
  379. {
  380. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
  381. ShowMenuForPlayer(TuningMenu, playerid);
  382. }
  383. case 1:
  384. if(pmodelid[playerid] == 562 ||
  385. pmodelid[playerid] == 565 ||
  386. pmodelid[playerid] == 559 ||
  387. pmodelid[playerid] == 561 ||
  388. pmodelid[playerid] == 560 ||
  389. pmodelid[playerid] == 575 ||
  390. pmodelid[playerid] == 534 || // Broadway
  391. pmodelid[playerid] == 567 ||
  392. pmodelid[playerid] == 536 ||
  393. pmodelid[playerid] == 535 ||
  394. pmodelid[playerid] == 576 ||
  395. pmodelid[playerid] == 558)
  396. {
  397. new car = GetPlayerVehicleID(playerid);
  398. ChangeVehiclePaintjob(car,1);
  399. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car");
  400. ShowMenuForPlayer(Paintjobs, playerid);
  401. }
  402. else
  403. {
  404. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
  405. ShowMenuForPlayer(TuningMenu, playerid);
  406. }
  407. case 2:
  408. if(pmodelid[playerid] == 562 ||
  409. pmodelid[playerid] == 565 ||
  410. pmodelid[playerid] == 559 ||
  411. pmodelid[playerid] == 561 ||
  412. pmodelid[playerid] == 560 ||
  413. pmodelid[playerid] == 575 ||
  414. pmodelid[playerid] == 534 || // Broadway
  415. pmodelid[playerid] == 567 ||
  416. pmodelid[playerid] == 536 ||
  417. pmodelid[playerid] == 535 ||
  418. pmodelid[playerid] == 576 ||
  419. pmodelid[playerid] == 558)
  420. {
  421. new car = GetPlayerVehicleID(playerid);
  422. ChangeVehiclePaintjob(car,2);
  423. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car");
  424. ShowMenuForPlayer(Paintjobs, playerid);
  425. }
  426. else
  427. {
  428. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
  429. ShowMenuForPlayer(TuningMenu, playerid);
  430. }
  431. case 3:
  432. if(pmodelid[playerid] == 562 ||
  433. pmodelid[playerid] == 565 ||
  434. pmodelid[playerid] == 559 ||
  435. pmodelid[playerid] == 561 ||
  436. pmodelid[playerid] == 560 ||
  437. pmodelid[playerid] == 575 ||
  438. pmodelid[playerid] == 534 || // Broadway
  439. pmodelid[playerid] == 567 ||
  440. pmodelid[playerid] == 536 ||
  441. pmodelid[playerid] == 535 ||
  442. pmodelid[playerid] == 576 ||
  443. pmodelid[playerid] == 558)
  444. {
  445. new car = GetPlayerVehicleID(playerid);
  446. ChangeVehiclePaintjob(car,3);
  447. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car");
  448. ShowMenuForPlayer(Paintjobs, playerid);
  449. }
  450. else
  451. {
  452. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
  453. ShowMenuForPlayer(TuningMenu, playerid);
  454. }
  455.  
  456. case 4:
  457. if(pmodelid[playerid] == 562 ||
  458. pmodelid[playerid] == 565 ||
  459. pmodelid[playerid] == 559 ||
  460. pmodelid[playerid] == 561 ||
  461. pmodelid[playerid] == 560 ||
  462. pmodelid[playerid] == 575 ||
  463. pmodelid[playerid] == 534 || // Broadway
  464. pmodelid[playerid] == 567 ||
  465. pmodelid[playerid] == 536 ||
  466. pmodelid[playerid] == 535 ||
  467. pmodelid[playerid] == 576 ||
  468. pmodelid[playerid] == 558)
  469. {
  470. new car = GetPlayerVehicleID(playerid);
  471. ChangeVehiclePaintjob(car,4);
  472. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car");
  473. ShowMenuForPlayer(Paintjobs, playerid);
  474. }
  475. else
  476. {
  477. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
  478. ShowMenuForPlayer(TuningMenu, playerid);
  479. }
  480. case 5:
  481. {
  482. ShowMenuForPlayer(TuningMenu, playerid);
  483. }
  484.  
  485. }
  486. }
  487.  
  488. if(Current == Colors) {
  489. switch(row){
  490. case 0:
  491. if(GetPlayerMoney(playerid) >= 0)
  492. {
  493. new car = GetPlayerVehicleID(playerid);
  494. ChangeVehicleColor(car,0,0);
  495. //GivePlayerMoney(playerid,0);
  496. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  497. ShowMenuForPlayer(Colors, playerid);
  498. }
  499. else
  500. {
  501. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  502. ShowMenuForPlayer(TuningMenu, playerid);
  503. }
  504. case 1:
  505. if(GetPlayerMoney(playerid) >= 0)
  506. {
  507. new car = GetPlayerVehicleID(playerid);
  508. ChangeVehicleColor(car,1,1);
  509. // GivePlayerMoney(playerid,0);
  510. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  511. ShowMenuForPlayer(Colors, playerid);
  512. }
  513. else
  514. {
  515. SendClientMessage(playerid,COLOR_RED,"You Have sprayed!");
  516. ShowMenuForPlayer(TuningMenu, playerid);
  517. }
  518. case 2:
  519. if(GetPlayerMoney(playerid) >= 0)
  520. {
  521. new car = GetPlayerVehicleID(playerid);
  522. ChangeVehicleColor(car,3,3);
  523. // GivePlayerMoney(playerid,-0);
  524. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  525. ShowMenuForPlayer(Colors, playerid);
  526. }
  527. else
  528. {
  529. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  530. ShowMenuForPlayer(TuningMenu, playerid);
  531. }
  532. case 3:
  533. if(GetPlayerMoney(playerid) >= 0)
  534. {
  535. new car = GetPlayerVehicleID(playerid);
  536. ChangeVehicleColor(car,79,79);
  537. // GivePlayerMoney(playerid,0);
  538. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  539. ShowMenuForPlayer(Colors, playerid);
  540. }
  541. else
  542. {
  543. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  544. ShowMenuForPlayer(TuningMenu, playerid);
  545. }
  546. case 4:
  547. if(GetPlayerMoney(playerid) >= 0)
  548. {
  549. new car = GetPlayerVehicleID(playerid);
  550. ChangeVehicleColor(car,86,86);
  551. // GivePlayerMoney(playerid,0);
  552. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  553. ShowMenuForPlayer(Colors, playerid);
  554. }
  555. else
  556. {
  557. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  558. ShowMenuForPlayer(TuningMenu, playerid);
  559. }
  560. case 5:
  561. if(GetPlayerMoney(playerid) >= 0)
  562. {
  563. new car = GetPlayerVehicleID(playerid);
  564. ChangeVehicleColor(car,6,6);
  565. // GivePlayerMoney(playerid,0);
  566. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  567. ShowMenuForPlayer(Colors, playerid);
  568. }
  569. else
  570. {
  571. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  572. ShowMenuForPlayer(TuningMenu, playerid);
  573. }
  574. case 6:
  575. if(GetPlayerMoney(playerid) >= 0)
  576. {
  577. new car = GetPlayerVehicleID(playerid);
  578. ChangeVehicleColor(car,126,126);
  579. // GivePlayerMoney(playerid,0);
  580. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  581. ShowMenuForPlayer(Colors, playerid);
  582. }
  583. else
  584. {
  585. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  586. ShowMenuForPlayer(TuningMenu, playerid);
  587. }
  588. case 7:
  589. if(GetPlayerMoney(playerid) >= 0)
  590. {
  591. new car = GetPlayerVehicleID(playerid);
  592. ChangeVehicleColor(car,66,66);
  593. // GivePlayerMoney(playerid,0);
  594. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  595. ShowMenuForPlayer(Colors, playerid);
  596. }
  597. else
  598. {
  599. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  600. ShowMenuForPlayer(TuningMenu, playerid);
  601. }
  602. case 8:ShowMenuForPlayer(Colors1, playerid);
  603. }
  604. }
  605.  
  606. if(Current == Colors1) {
  607. switch(row){
  608. case 0:
  609. if(GetPlayerMoney(playerid) >= 0)
  610. {
  611. new car = GetPlayerVehicleID(playerid);
  612. ChangeVehicleColor(car,24,24);
  613. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  614. ShowMenuForPlayer(Colors1, playerid);
  615. }
  616. else
  617. {
  618. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  619. ShowMenuForPlayer(TuningMenu, playerid);
  620. }
  621. case 1:
  622. if(GetPlayerMoney(playerid) >= 0)
  623. {
  624. new car = GetPlayerVehicleID(playerid);
  625. ChangeVehicleColor(car,123,123);
  626. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  627. ShowMenuForPlayer(Colors1, playerid);
  628. }
  629. else
  630. {
  631. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  632. ShowMenuForPlayer(TuningMenu, playerid);
  633. }
  634. case 2:
  635. if(GetPlayerMoney(playerid) >= 0)
  636. {
  637. new car = GetPlayerVehicleID(playerid);
  638. ChangeVehicleColor(car,53,53);
  639. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  640. ShowMenuForPlayer(Colors1, playerid);
  641. }
  642. else
  643. {
  644. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  645. ShowMenuForPlayer(TuningMenu, playerid);
  646. }
  647. case 3:
  648. if(GetPlayerMoney(playerid) >= 0)
  649. {
  650. new car = GetPlayerVehicleID(playerid);
  651. ChangeVehicleColor(car,93,93);
  652. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  653. ShowMenuForPlayer(Colors1, playerid);
  654. }
  655. else
  656. {
  657. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  658. ShowMenuForPlayer(TuningMenu, playerid);
  659. }
  660. case 4:
  661. if(GetPlayerMoney(playerid) >= 0)
  662. {
  663. new car = GetPlayerVehicleID(playerid);
  664. ChangeVehicleColor(car,83,83);
  665. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  666. ShowMenuForPlayer(Colors1, playerid);
  667. }
  668. else
  669. {
  670. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  671. ShowMenuForPlayer(TuningMenu, playerid);
  672. }
  673. case 5:
  674. if(GetPlayerMoney(playerid) >= 0)
  675. {
  676. new car = GetPlayerVehicleID(playerid);
  677. ChangeVehicleColor(car,60,60);
  678. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  679. ShowMenuForPlayer(Colors1, playerid);
  680. }
  681. else
  682. {
  683. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  684. ShowMenuForPlayer(TuningMenu, playerid);
  685. }
  686. case 6:
  687. if(GetPlayerMoney(playerid) >= 0)
  688. {
  689. new car = GetPlayerVehicleID(playerid);
  690. ChangeVehicleColor(car,126,126);
  691. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  692. ShowMenuForPlayer(Colors1, playerid);
  693. }
  694. else
  695. {
  696. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  697. ShowMenuForPlayer(TuningMenu, playerid);
  698. }
  699. case 7:
  700. if(GetPlayerMoney(playerid) >= 0)
  701. {
  702. new car = GetPlayerVehicleID(playerid);
  703. ChangeVehicleColor(car,110,110);
  704. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car");
  705. ShowMenuForPlayer(Colors1, playerid);
  706. }
  707. else
  708. {
  709. SendClientMessage(playerid,COLOR_RED,"You Have Sprayed!");
  710. ShowMenuForPlayer(TuningMenu, playerid);
  711. }
  712. case 8:ShowMenuForPlayer(TuningMenu, playerid);
  713. }
  714. }
  715.  
  716.  
  717. if(Current == Exhausts) {
  718. switch(row){
  719.  
  720.  
  721.  
  722. //-------------------Alien Exausts-Wheel Arch Cars----------------------------------------------------------
  723.  
  724. case 0:
  725.  
  726. if(pmodelid[playerid] == 562 ||
  727. pmodelid[playerid] == 565 ||
  728. pmodelid[playerid] == 559 ||
  729. pmodelid[playerid] == 561 ||
  730. pmodelid[playerid] == 560)
  731. {
  732. new car = GetPlayerVehicleID(playerid);
  733. if(pmodelid[playerid] == 562)
  734. {
  735. AddVehicleComponent(car,1034);
  736. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Elegy");
  737. ShowMenuForPlayer(Exhausts, playerid);
  738. }
  739. else if(pmodelid[playerid] == 565)
  740. {
  741. AddVehicleComponent(car,1046);
  742. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Flash");
  743. ShowMenuForPlayer(Exhausts, playerid);
  744. }
  745. else if(pmodelid[playerid] == 559)
  746. {
  747. AddVehicleComponent(car,1065);
  748. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Jetser");
  749. ShowMenuForPlayer(Exhausts, playerid);
  750. }
  751. else if(pmodelid[playerid] == 561)
  752. {
  753. AddVehicleComponent(car,1064);
  754. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Stratum");
  755. ShowMenuForPlayer(Exhausts, playerid);
  756. }
  757. else if(pmodelid[playerid] == 560)
  758. {
  759. AddVehicleComponent(car,1028);
  760. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Sultan");
  761. ShowMenuForPlayer(Exhausts, playerid);
  762. }
  763. else if(pmodelid[playerid] == 558)
  764. {
  765. AddVehicleComponent(car,1089);
  766. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Uranus");
  767. ShowMenuForPlayer(Exhausts, playerid);
  768. }
  769. }
  770. else
  771. {
  772. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  773. ShowMenuForPlayer(TuningMenu, playerid);
  774. }
  775.  
  776.  
  777.  
  778. //-------------------X-Flow Exausts-Wheel Arch Cars----------------------------------------------------------
  779. case 1:
  780. if(pmodelid[playerid] == 562 ||
  781. pmodelid[playerid] == 565 ||
  782. pmodelid[playerid] == 559 ||
  783. pmodelid[playerid] == 561 ||
  784. pmodelid[playerid] == 560)
  785.  
  786. {
  787. new car = GetPlayerVehicleID(playerid);
  788. if(pmodelid[playerid] == 562)
  789. {
  790. AddVehicleComponent(car,1037);
  791. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Elegy");
  792. ShowMenuForPlayer(Exhausts, playerid);
  793. }
  794. else if(pmodelid[playerid] == 565)
  795. {
  796. AddVehicleComponent(car,1045);
  797. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Flash");
  798. ShowMenuForPlayer(Exhausts, playerid);
  799. }
  800. else if(pmodelid[playerid] == 559)
  801. {
  802. AddVehicleComponent(car,1066);
  803. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow exaust component on Jester");
  804. ShowMenuForPlayer(Exhausts, playerid);
  805. }
  806. else if(pmodelid[playerid] == 561)
  807. {
  808. AddVehicleComponent(car,1059);
  809. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Stratum");
  810. ShowMenuForPlayer(Exhausts, playerid);
  811. }
  812. else if(pmodelid[playerid] == 560)
  813. {
  814. AddVehicleComponent(car,1029);
  815. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Sultan");
  816. ShowMenuForPlayer(Exhausts, playerid);
  817. }
  818. else if(pmodelid[playerid] == 558)
  819. {
  820. AddVehicleComponent(car,1092);
  821. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Uranus");
  822. ShowMenuForPlayer(Exhausts, playerid);
  823. }
  824. }
  825. else
  826. {
  827. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  828. ShowMenuForPlayer(TuningMenu, playerid);
  829. }
  830.  
  831. //-------------------Locos Low Chromer Exausts----------------------------------------------------------
  832. case 2:
  833. if(pmodelid[playerid] == 575 ||
  834. pmodelid[playerid] == 534 ||
  835. pmodelid[playerid] == 567 ||
  836. pmodelid[playerid] == 536 ||
  837. pmodelid[playerid] == 576 ||
  838. pmodelid[playerid] == 535)
  839.  
  840. {
  841. new car = GetPlayerVehicleID(playerid);
  842. if(pmodelid[playerid] == 575) // Brodway
  843. {
  844. AddVehicleComponent(car,1044);
  845. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Brodway");
  846. ShowMenuForPlayer(Exhausts, playerid);
  847. }
  848. else if(pmodelid[playerid] == 534)// Remington
  849. {
  850. AddVehicleComponent(car,1126);
  851. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Remington");
  852. ShowMenuForPlayer(Exhausts, playerid);
  853. }
  854. else if(pmodelid[playerid] == 567)// Savanna
  855. {
  856. AddVehicleComponent(car,1129);
  857. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Savanna");
  858. ShowMenuForPlayer(Exhausts, playerid);
  859. }
  860. else if(pmodelid[playerid] == 536) // Blade
  861. {
  862. AddVehicleComponent(car,1104);
  863. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Blade");
  864. ShowMenuForPlayer(Exhausts, playerid);
  865. }
  866. else if(pmodelid[playerid] == 535) // Slamvan
  867. {
  868. AddVehicleComponent(car,1113);
  869. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Slamvan");
  870. ShowMenuForPlayer(Exhausts, playerid);
  871. }
  872. else if(pmodelid[playerid] == 576) // Tornado
  873. {
  874. AddVehicleComponent(car,1136);
  875. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Tornado");
  876. }
  877. else if(pmodelid[playerid] == 431) // Gangster Bus
  878. {
  879. AddVehicleComponent(car,1160);
  880. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Tornado");
  881. ShowMenuForPlayer(Exhausts, playerid); ShowMenuForPlayer(Exhausts, playerid);
  882. }
  883. }
  884. else
  885. {
  886. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types");
  887. ShowMenuForPlayer(TuningMenu, playerid);
  888. }
  889.  
  890. //-------------------Locos Low Salmin Exausts----------------------------------------------------------
  891. case 3:
  892. if(pmodelid[playerid] == 575 ||
  893. pmodelid[playerid] == 534 ||
  894. pmodelid[playerid] == 567 ||
  895. pmodelid[playerid] == 536 ||
  896. pmodelid[playerid] == 576 ||
  897. pmodelid[playerid] == 535)
  898. {
  899. new car = GetPlayerVehicleID(playerid);
  900. if(pmodelid[playerid] == 575) // Brodway
  901. {
  902. AddVehicleComponent(car,1043);
  903. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Brodway");
  904. ShowMenuForPlayer(Exhausts, playerid);
  905. }
  906. else if(pmodelid[playerid] == 534)// Remington
  907. {
  908. AddVehicleComponent(car,1127);
  909. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Remingon");
  910. ShowMenuForPlayer(Exhausts, playerid);
  911. }
  912. else if(pmodelid[playerid] == 567)// Savanna
  913. {
  914. AddVehicleComponent(car,1132);
  915. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Savanna");
  916. ShowMenuForPlayer(Exhausts, playerid);
  917. }
  918. else if(pmodelid[playerid] == 536) // Blade
  919. {
  920. AddVehicleComponent(car,1105);
  921. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Blade");
  922. ShowMenuForPlayer(Exhausts, playerid);
  923. }
  924.  
  925. else if(pmodelid[playerid] == 535) // Slamvan
  926. {
  927. AddVehicleComponent(car,1114);
  928. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Slamvan");
  929. ShowMenuForPlayer(Exhausts, playerid);
  930. }
  931.  
  932. else if(pmodelid[playerid] == 576) // Tornado
  933. {
  934. AddVehicleComponent(car,1135);
  935. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Tornado");
  936. ShowMenuForPlayer(Exhausts, playerid);
  937. }
  938.  
  939. }
  940. else
  941. {
  942. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types");
  943. ShowMenuForPlayer(TuningMenu, playerid);
  944. }
  945.  
  946. case 4:ShowMenuForPlayer(TuningMenu, playerid);
  947. }
  948. }
  949.  
  950. if(Current == Frontbumper) {
  951. switch(row){
  952.  
  953.  
  954. //-------------------Alien Front Bumper-Wheel Arch Cars----------------------------------------------------------
  955. case 0:
  956. if(pmodelid[playerid] == 562 ||
  957. pmodelid[playerid] == 565 ||
  958. pmodelid[playerid] == 559 ||
  959. pmodelid[playerid] == 561 ||
  960. pmodelid[playerid] == 560)
  961. {
  962. new car = GetPlayerVehicleID(playerid);
  963. if(pmodelid[playerid] == 562) // Elegy
  964. {
  965. AddVehicleComponent(car,1171);
  966. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Elegy");
  967. ShowMenuForPlayer(Frontbumper, playerid);
  968. }
  969. else if(pmodelid[playerid] == 565) // Flash
  970. {
  971. AddVehicleComponent(car,1153);
  972. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Flash");
  973. ShowMenuForPlayer(Frontbumper, playerid);
  974. }
  975. else if(pmodelid[playerid] == 559) // Jester
  976. {
  977. AddVehicleComponent(car,1160);
  978. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Jester");
  979. ShowMenuForPlayer(Frontbumper, playerid);
  980. }
  981. else if(pmodelid[playerid] == 561) // Stratum
  982. {
  983. AddVehicleComponent(car,1155);
  984. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Stratum");
  985. ShowMenuForPlayer(Frontbumper, playerid);
  986. }
  987. else if(pmodelid[playerid] == 560) // Sultan
  988. {
  989. AddVehicleComponent(car,1169);
  990. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Sultan");
  991. ShowMenuForPlayer(Frontbumper, playerid);
  992. }
  993. else if(pmodelid[playerid] == 558) // Uranus
  994. {
  995. AddVehicleComponent(car,1166);
  996. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Uraus");
  997. ShowMenuForPlayer(Frontbumper, playerid);
  998. }
  999. }
  1000. else
  1001. {
  1002. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1003. ShowMenuForPlayer(TuningMenu, playerid);
  1004. }
  1005.  
  1006.  
  1007. //-------------------X-Flow Front Bumper-Wheel Arch Cars----------------------------------------------------------
  1008. case 1:
  1009.  
  1010. if(pmodelid[playerid] == 562 ||
  1011. pmodelid[playerid] == 565 ||
  1012. pmodelid[playerid] == 559 ||
  1013. pmodelid[playerid] == 561 ||
  1014. pmodelid[playerid] == 560)
  1015. {
  1016.  
  1017. new car = GetPlayerVehicleID(playerid);
  1018. if(pmodelid[playerid] == 562) // Elegy
  1019. {
  1020. AddVehicleComponent(car,1172);
  1021. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Elegy");
  1022. ShowMenuForPlayer(Frontbumper, playerid);
  1023. }
  1024. else if(pmodelid[playerid] == 565) // Flash
  1025. {
  1026. AddVehicleComponent(car,1152);
  1027. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Flash");
  1028. ShowMenuForPlayer(Frontbumper, playerid);
  1029. }
  1030. else if(pmodelid[playerid] == 559) // Jetser
  1031. {
  1032. AddVehicleComponent(car,1173);
  1033. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Jester");
  1034. ShowMenuForPlayer(Frontbumper, playerid);
  1035. }
  1036. else if(pmodelid[playerid] == 561) // Stratum
  1037. {
  1038. AddVehicleComponent(car,1157);
  1039. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Stratum");
  1040. ShowMenuForPlayer(Frontbumper, playerid);
  1041. }
  1042. else if(pmodelid[playerid] == 560) // Sultan
  1043. {
  1044. AddVehicleComponent(car,1170);
  1045. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Sultan");
  1046. ShowMenuForPlayer(Frontbumper, playerid);
  1047. }
  1048. else if(pmodelid[playerid] == 558) // Uranus
  1049. {
  1050. AddVehicleComponent(car,1165);
  1051. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Uranus");
  1052. ShowMenuForPlayer(Frontbumper, playerid);
  1053. }
  1054. }
  1055. else
  1056. {
  1057. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1058. ShowMenuForPlayer(TuningMenu, playerid);
  1059. }
  1060.  
  1061. //-------------------Locos Low Chromer Front Bumper----------------------------------------------------------
  1062. case 2:
  1063.  
  1064. if(pmodelid[playerid] == 575 ||
  1065. pmodelid[playerid] == 534 ||
  1066. pmodelid[playerid] == 567 ||
  1067. pmodelid[playerid] == 536 ||
  1068. pmodelid[playerid] == 576 ||
  1069. pmodelid[playerid] == 535)
  1070. {
  1071. new car = GetPlayerVehicleID(playerid);
  1072. if(pmodelid[playerid] == 575) // Brodway
  1073. {
  1074. AddVehicleComponent(car,1174);
  1075. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Brodway");
  1076. ShowMenuForPlayer(Frontbumper, playerid);
  1077. }
  1078. else if(pmodelid[playerid] == 534)// Remington
  1079. {
  1080. AddVehicleComponent(car,1179);
  1081. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Remington");
  1082. ShowMenuForPlayer(Frontbumper, playerid);
  1083. }
  1084. else if(pmodelid[playerid] == 567)// Savanna
  1085. {
  1086. AddVehicleComponent(car,1189);
  1087. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Savanna");
  1088. ShowMenuForPlayer(Frontbumper, playerid);
  1089. }
  1090. else if(pmodelid[playerid] == 536) // Blade
  1091. {
  1092. AddVehicleComponent(car,1182);
  1093. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Blade");
  1094. ShowMenuForPlayer(Frontbumper, playerid);
  1095. }
  1096. else if(pmodelid[playerid] == 535) // Slamvan
  1097. {
  1098. AddVehicleComponent(car,1115);
  1099. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Slamvan");
  1100. ShowMenuForPlayer(Frontbumper, playerid);
  1101. }
  1102. else if(pmodelid[playerid] == 576) // Tornado
  1103. {
  1104. AddVehicleComponent(car,1191);
  1105. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Tornado");
  1106. ShowMenuForPlayer(Frontbumper, playerid);
  1107. }
  1108. }
  1109. else
  1110. {
  1111. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types");
  1112. ShowMenuForPlayer(TuningMenu, playerid);
  1113. }
  1114.  
  1115.  
  1116.  
  1117. //-------------------Locos Low Salmin Front Bumper----------------------------------------------------------
  1118. case 3:
  1119.  
  1120. if(pmodelid[playerid] == 575 ||
  1121. pmodelid[playerid] == 534 ||
  1122. pmodelid[playerid] == 567 ||
  1123. pmodelid[playerid] == 536 ||
  1124. pmodelid[playerid] == 576 ||
  1125. pmodelid[playerid] == 576)
  1126. {
  1127. new car = GetPlayerVehicleID(playerid);
  1128. if(pmodelid[playerid] == 575) // Brodway
  1129. {
  1130. AddVehicleComponent(car,1175);
  1131. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Brodway");
  1132. ShowMenuForPlayer(Frontbumper, playerid);
  1133. }
  1134. else if(pmodelid[playerid] == 534)// Remington
  1135. {
  1136. AddVehicleComponent(car,1185);
  1137. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Remington");
  1138. ShowMenuForPlayer(Frontbumper, playerid);
  1139. }
  1140. else if(pmodelid[playerid] == 567)// Savanna
  1141. {
  1142. AddVehicleComponent(car,1188);
  1143. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Savanna");
  1144. ShowMenuForPlayer(Frontbumper, playerid);
  1145. }
  1146. else if(pmodelid[playerid] == 536) // Blade
  1147. {
  1148. AddVehicleComponent(car,1181);
  1149. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Blade");
  1150. ShowMenuForPlayer(Frontbumper, playerid);
  1151. }
  1152.  
  1153. else if(pmodelid[playerid] == 535) // Slamvan
  1154. {
  1155. AddVehicleComponent(car,1116);
  1156. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Slamvan");
  1157. ShowMenuForPlayer(Frontbumper, playerid);
  1158. }
  1159. else if(pmodelid[playerid] == 576) // Tornado
  1160. {
  1161. AddVehicleComponent(car,1190);
  1162. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Tornado");
  1163. ShowMenuForPlayer(Frontbumper, playerid);
  1164. }
  1165.  
  1166. }
  1167. else
  1168. {
  1169. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types");
  1170. ShowMenuForPlayer(TuningMenu, playerid);
  1171. }
  1172.  
  1173. case 4:ShowMenuForPlayer(TuningMenu, playerid);
  1174. }
  1175. }
  1176.  
  1177.  
  1178. if(Current == Rearbumper) {
  1179. switch(row){
  1180.  
  1181.  
  1182. //-------------------Alien Rear Bumper-Wheel Arch Cars----------------------------------------------------------
  1183. case 0:
  1184. if(pmodelid[playerid] == 562 ||
  1185. pmodelid[playerid] == 565 ||
  1186. pmodelid[playerid] == 559 ||
  1187. pmodelid[playerid] == 561 ||
  1188. pmodelid[playerid] == 560)
  1189. {
  1190.  
  1191. new car = GetPlayerVehicleID(playerid);
  1192. if(pmodelid[playerid] == 562) // Elegy
  1193. {
  1194. AddVehicleComponent(car,1149);
  1195. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Elegy");
  1196. ShowMenuForPlayer(Rearbumper, playerid);
  1197. }
  1198. else if(pmodelid[playerid] == 565) // Flash
  1199. {
  1200. AddVehicleComponent(car,1150);
  1201. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Flash");
  1202. ShowMenuForPlayer(Rearbumper, playerid);
  1203. }
  1204. else if(pmodelid[playerid] == 559) // Jester
  1205. {
  1206. AddVehicleComponent(car,1159);
  1207. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Jester");
  1208. ShowMenuForPlayer(Rearbumper, playerid);
  1209. }
  1210. else if(pmodelid[playerid] == 561) // Stratum
  1211. {
  1212. AddVehicleComponent(car,1154);
  1213. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Stratum");
  1214. ShowMenuForPlayer(Rearbumper, playerid);
  1215. }
  1216. else if(pmodelid[playerid] == 560) // Sultan
  1217. {
  1218. AddVehicleComponent(car,1141);
  1219. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Sultan");
  1220. ShowMenuForPlayer(Rearbumper, playerid);
  1221. }
  1222. else if(pmodelid[playerid] == 558) // Uranus
  1223. {
  1224. AddVehicleComponent(car,1168);
  1225. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Uranus");
  1226. ShowMenuForPlayer(Rearbumper, playerid);
  1227. }
  1228. }
  1229. else
  1230. {
  1231. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1232. ShowMenuForPlayer(TuningMenu, playerid);
  1233. }
  1234.  
  1235. //-------------------X-Flow Rear Bumper-Wheel Arch Cars----------------------------------------------------------
  1236. case 1:
  1237.  
  1238. if(pmodelid[playerid] == 562 ||
  1239. pmodelid[playerid] == 565 ||
  1240. pmodelid[playerid] == 559 ||
  1241. pmodelid[playerid] == 561 ||
  1242. pmodelid[playerid] == 560)
  1243. {
  1244.  
  1245.  
  1246. new car = GetPlayerVehicleID(playerid);
  1247. if(pmodelid[playerid] == 562) // Elegy
  1248. {
  1249. AddVehicleComponent(car,1148);
  1250. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Elegy");
  1251. ShowMenuForPlayer(Rearbumper, playerid);
  1252. }
  1253. else if(pmodelid[playerid] == 565) // Flash
  1254. {
  1255. AddVehicleComponent(car,1151);
  1256. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Flash");
  1257. ShowMenuForPlayer(Rearbumper, playerid);
  1258. }
  1259. else if(pmodelid[playerid] == 559) // Jetser
  1260. {
  1261. AddVehicleComponent(car,1161);
  1262. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Jester");
  1263. ShowMenuForPlayer(Rearbumper, playerid);
  1264. }
  1265. else if(pmodelid[playerid] == 561) // Stratum
  1266. {
  1267. AddVehicleComponent(car,1156);
  1268. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Stratum");
  1269. ShowMenuForPlayer(Rearbumper, playerid);
  1270. }
  1271. else if(pmodelid[playerid] == 560) // Sultan
  1272. {
  1273. AddVehicleComponent(car,1140);
  1274. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Sultan");
  1275. ShowMenuForPlayer(Rearbumper, playerid);
  1276. }
  1277. else if(pmodelid[playerid] == 558) // Uranus
  1278. {
  1279. AddVehicleComponent(car,1167);
  1280. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Uranus");
  1281. ShowMenuForPlayer(Rearbumper, playerid);
  1282. }
  1283. }
  1284. else
  1285. {
  1286. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1287. ShowMenuForPlayer(TuningMenu, playerid);
  1288. }
  1289. //-------------------Locos Low Chromer rear Bumper----------------------------------------------------------
  1290. case 2:
  1291. if(pmodelid[playerid] == 575 ||
  1292. pmodelid[playerid] == 534 ||
  1293. pmodelid[playerid] == 567 ||
  1294. pmodelid[playerid] == 536 ||
  1295. pmodelid[playerid] == 576 ||
  1296. pmodelid[playerid] == 535)
  1297. {
  1298. new car = GetPlayerVehicleID(playerid);
  1299. if(pmodelid[playerid] == 575) // Brodway
  1300. {
  1301. AddVehicleComponent(car,1176);
  1302. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Brodway");
  1303. ShowMenuForPlayer(Rearbumper, playerid);
  1304. }
  1305. else if(pmodelid[playerid] == 534)// Remington
  1306. {
  1307. AddVehicleComponent(car,1180);
  1308. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Remington");
  1309. ShowMenuForPlayer(Rearbumper, playerid);
  1310. }
  1311. else if(pmodelid[playerid] == 567)// Savanna
  1312. {
  1313. AddVehicleComponent(car,1187);
  1314. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Savanna");
  1315. ShowMenuForPlayer(Rearbumper, playerid);
  1316. }
  1317. else if(pmodelid[playerid] == 536) // Blade
  1318. {
  1319. AddVehicleComponent(car,1184);
  1320. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Blade");
  1321. ShowMenuForPlayer(Rearbumper, playerid);
  1322. }
  1323. else if(pmodelid[playerid] == 535) // Slamvan
  1324. {
  1325. AddVehicleComponent(car,1109);
  1326. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Slamvan");
  1327. ShowMenuForPlayer(Rearbumper, playerid);
  1328. }
  1329. else if(pmodelid[playerid] == 576) // Tornado
  1330. {
  1331. AddVehicleComponent(car,1192);
  1332. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Tornado");
  1333. ShowMenuForPlayer(Rearbumper, playerid);
  1334. }
  1335. }
  1336. else
  1337. {
  1338. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types");
  1339. ShowMenuForPlayer(TuningMenu, playerid);
  1340. }
  1341. //-------------------Locos Low Salmin Rear Bumper----------------------------------------------------------
  1342. case 3:
  1343. if(pmodelid[playerid] == 575 ||
  1344. pmodelid[playerid] == 534 ||
  1345. pmodelid[playerid] == 567 ||
  1346. pmodelid[playerid] == 536 ||
  1347. pmodelid[playerid] == 576 ||
  1348. pmodelid[playerid] == 535)
  1349. {
  1350. new car = GetPlayerVehicleID(playerid);
  1351. if(pmodelid[playerid] == 575) // Brodway
  1352. {
  1353. AddVehicleComponent(car,1177);
  1354. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Brodway");
  1355. ShowMenuForPlayer(Rearbumper, playerid);
  1356. }
  1357. else if(pmodelid[playerid] == 534)// Remington
  1358. {
  1359. AddVehicleComponent(car,1178);
  1360. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Remington");
  1361. ShowMenuForPlayer(Rearbumper, playerid);
  1362. }
  1363. else if(pmodelid[playerid] == 567)// Savanna
  1364. {
  1365. AddVehicleComponent(car,1186);
  1366. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Savanna");
  1367. ShowMenuForPlayer(Rearbumper, playerid);
  1368. }
  1369. else if(pmodelid[playerid] == 536) // Blade
  1370. {
  1371. AddVehicleComponent(car,1183);
  1372. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Blade");
  1373. ShowMenuForPlayer(Rearbumper, playerid);
  1374. }
  1375.  
  1376. else if(pmodelid[playerid] == 535) // Slamvan
  1377. {
  1378. AddVehicleComponent(car,1110);
  1379. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Slamvan");
  1380. ShowMenuForPlayer(Rearbumper, playerid);
  1381. }
  1382.  
  1383. else if(pmodelid[playerid] == 576) // Tornado
  1384. {
  1385. AddVehicleComponent(car,1193);
  1386. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Tornado");
  1387. ShowMenuForPlayer(Rearbumper, playerid);
  1388. }
  1389.  
  1390. }
  1391. else
  1392. {
  1393. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types");
  1394. ShowMenuForPlayer(TuningMenu, playerid);
  1395. }
  1396.  
  1397. case 4:ShowMenuForPlayer(TuningMenu, playerid);
  1398. }
  1399. }
  1400.  
  1401.  
  1402.  
  1403. if(Current == Roof) {
  1404. switch(row){
  1405.  
  1406.  
  1407. //-------------------Alien Roof Vent-Wheel Arch Cars----------------------------------------------------------
  1408. case 0:
  1409. if(pmodelid[playerid] == 562 ||
  1410. pmodelid[playerid] == 565 ||
  1411. pmodelid[playerid] == 559 ||
  1412. pmodelid[playerid] == 561 ||
  1413. pmodelid[playerid] == 560)
  1414. {
  1415.  
  1416. new car = GetPlayerVehicleID(playerid);
  1417. if(pmodelid[playerid] == 562) // Elegy
  1418. {
  1419. AddVehicleComponent(car,1035);
  1420. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Elegy");
  1421. ShowMenuForPlayer(Roof, playerid);
  1422. }
  1423. else if(pmodelid[playerid] == 565) // Flash
  1424. {
  1425. AddVehicleComponent(car,1054);
  1426. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Flash");
  1427. ShowMenuForPlayer(Roof, playerid);
  1428. }
  1429. else if(pmodelid[playerid] == 559) // Jester
  1430. {
  1431. AddVehicleComponent(car,1067);
  1432. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Jester");
  1433. ShowMenuForPlayer(Roof, playerid);
  1434. }
  1435. else if(pmodelid[playerid] == 561) // Stratum
  1436. {
  1437. AddVehicleComponent(car,1055);
  1438. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Stratum");
  1439. ShowMenuForPlayer(Roof, playerid);
  1440. }
  1441. else if(pmodelid[playerid] == 560) // Sultan
  1442. {
  1443. AddVehicleComponent(car,1032);
  1444. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Sultan");
  1445. ShowMenuForPlayer(Roof, playerid);
  1446. }
  1447. else if(pmodelid[playerid] == 558) // Uranus
  1448. {
  1449. AddVehicleComponent(car,1088);
  1450. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Uranus");
  1451. ShowMenuForPlayer(Roof, playerid);
  1452. }
  1453. }
  1454. else
  1455. {
  1456. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1457. ShowMenuForPlayer(TuningMenu, playerid);
  1458. }
  1459.  
  1460. //-------------------X-Flow Roof Vent-Wheel Arch Cars----------------------------------------------------------
  1461. case 1:
  1462.  
  1463. if(pmodelid[playerid] == 562 ||
  1464. pmodelid[playerid] == 565 ||
  1465. pmodelid[playerid] == 559 ||
  1466. pmodelid[playerid] == 561 ||
  1467. pmodelid[playerid] == 560)
  1468. {
  1469.  
  1470.  
  1471. new car = GetPlayerVehicleID(playerid);
  1472. if(pmodelid[playerid] == 562) // Elegy
  1473. {
  1474. AddVehicleComponent(car,1035);
  1475. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Elegy");
  1476. ShowMenuForPlayer(Roof, playerid);
  1477. }
  1478. else if(pmodelid[playerid] == 565) // Flash
  1479. {
  1480. AddVehicleComponent(car,1053);
  1481. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Flash");
  1482. ShowMenuForPlayer(Roof, playerid);
  1483. }
  1484. else if(pmodelid[playerid] == 559) // Jetser
  1485. {
  1486. AddVehicleComponent(car,1068);
  1487. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Jester");
  1488. ShowMenuForPlayer(Roof, playerid);
  1489. }
  1490. else if(pmodelid[playerid] == 561) // Stratum
  1491. {
  1492. AddVehicleComponent(car,1061);
  1493. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Stratum");
  1494. ShowMenuForPlayer(Roof, playerid);
  1495. }
  1496. else if(pmodelid[playerid] == 560) // Sultan
  1497. {
  1498. AddVehicleComponent(car,1033);
  1499. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Sultan");
  1500. ShowMenuForPlayer(Roof, playerid);
  1501. }
  1502. else if(pmodelid[playerid] == 558) // Uranus
  1503. {
  1504. AddVehicleComponent(car,1091);
  1505. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Uranus");
  1506. ShowMenuForPlayer(Roof, playerid);
  1507. }
  1508. }
  1509. else
  1510. {
  1511. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1512. ShowMenuForPlayer(TuningMenu, playerid);
  1513. }
  1514. //-------------------Locos Low Hardtop Roof ----------------------------------------------------------
  1515. case 2:
  1516. if(pmodelid[playerid] == 567 ||
  1517. pmodelid[playerid] == 536)
  1518. {
  1519. new car = GetPlayerVehicleID(playerid);
  1520. if(pmodelid[playerid] == 567) // Savanna
  1521. {
  1522. AddVehicleComponent(car,1130);
  1523. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Hardtop Roof component on Brodway");
  1524. ShowMenuForPlayer(Roof, playerid);
  1525. }
  1526. else if(pmodelid[playerid] == 536) // Blade
  1527. {
  1528. AddVehicleComponent(car,1128);
  1529. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Hardtop Roof component on Blade");
  1530. ShowMenuForPlayer(Roof, playerid);
  1531. }
  1532. }
  1533. else
  1534. {
  1535. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types Savanna and Blade");
  1536. ShowMenuForPlayer(Roof, playerid);
  1537. }
  1538. //-------------------Locos Low Softtop Roof ----------------------------------------------------------
  1539. case 3:
  1540. if(pmodelid[playerid] == 567 ||
  1541. pmodelid[playerid] == 536)
  1542. {
  1543. new car = GetPlayerVehicleID(playerid);
  1544. if(pmodelid[playerid] == 567) // Savanna
  1545. {
  1546. AddVehicleComponent(car,1131);
  1547. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Softtop Roof component on Brodway");
  1548. ShowMenuForPlayer(Roof, playerid);
  1549. }
  1550. else if(pmodelid[playerid] == 536) // Blade
  1551. {
  1552. AddVehicleComponent(car,1103);
  1553. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Softtop Roof component on Blade");
  1554. ShowMenuForPlayer(Roof, playerid);
  1555. }
  1556. }
  1557. else
  1558. {
  1559. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types Savanna and Blade");
  1560. ShowMenuForPlayer(Roof, playerid);
  1561. }
  1562.  
  1563. case 4:ShowMenuForPlayer(TuningMenu, playerid);
  1564. }
  1565. }
  1566.  
  1567.  
  1568. if(Current == Spoilers) {
  1569. switch(row){
  1570.  
  1571.  
  1572. //-------------------Alien Spoilers-Wheel Arch Cars----------------------------------------------------------
  1573. case 0:
  1574. if(pmodelid[playerid] == 562 ||
  1575. pmodelid[playerid] == 565 ||
  1576. pmodelid[playerid] == 559 ||
  1577. pmodelid[playerid] == 561 ||
  1578. pmodelid[playerid] == 560)
  1579. {
  1580.  
  1581. new car = GetPlayerVehicleID(playerid);
  1582. if(pmodelid[playerid] == 562) // Elegy
  1583. {
  1584. AddVehicleComponent(car,1147);
  1585. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Elegy");
  1586. ShowMenuForPlayer(Spoilers, playerid);
  1587. }
  1588. else if(pmodelid[playerid] == 565) // Flash
  1589. {
  1590. AddVehicleComponent(car,1049);
  1591. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Flash");
  1592. ShowMenuForPlayer(Spoilers, playerid);
  1593. }
  1594. else if(pmodelid[playerid] == 559) // Jester
  1595. {
  1596. AddVehicleComponent(car,1162);
  1597. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Jester");
  1598. ShowMenuForPlayer(Spoilers, playerid);
  1599. }
  1600. else if(pmodelid[playerid] == 561) // Stratum
  1601. {
  1602. AddVehicleComponent(car,1158);
  1603. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Stratum");
  1604. ShowMenuForPlayer(Spoilers, playerid);
  1605. }
  1606. else if(pmodelid[playerid] == 560) // Sultan
  1607. {
  1608. AddVehicleComponent(car,1138);
  1609. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Sultan");
  1610. ShowMenuForPlayer(Spoilers, playerid);
  1611. }
  1612. else if(pmodelid[playerid] == 558) // Uranus
  1613. {
  1614. AddVehicleComponent(car,1164);
  1615. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Uranus");
  1616. ShowMenuForPlayer(Spoilers, playerid);
  1617. }
  1618. }
  1619. else
  1620. {
  1621. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1622. ShowMenuForPlayer(TuningMenu, playerid);
  1623. }
  1624.  
  1625.  
  1626. //-------------------X-Flow Spoilers-Wheel Arch Cars----------------------------------------------------------
  1627. case 1:
  1628.  
  1629. if(pmodelid[playerid] == 562 ||
  1630. pmodelid[playerid] == 565 ||
  1631. pmodelid[playerid] == 559 ||
  1632. pmodelid[playerid] == 561 ||
  1633. pmodelid[playerid] == 560)
  1634. {
  1635.  
  1636.  
  1637. new car = GetPlayerVehicleID(playerid);
  1638. if(pmodelid[playerid] == 562) // Elegy
  1639. {
  1640. AddVehicleComponent(car,1146);
  1641. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Elegy");
  1642. ShowMenuForPlayer(Spoilers, playerid);
  1643. }
  1644. else if(pmodelid[playerid] == 565) // Flash
  1645. {
  1646. AddVehicleComponent(car,1150);
  1647. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Flash");
  1648. ShowMenuForPlayer(Spoilers, playerid);
  1649. }
  1650. else if(pmodelid[playerid] == 559) // Jetser
  1651. {
  1652. AddVehicleComponent(car,1158);
  1653. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Jester");
  1654. ShowMenuForPlayer(Spoilers, playerid);
  1655. }
  1656. else if(pmodelid[playerid] == 561) // Stratum
  1657. {
  1658. AddVehicleComponent(car,1060);
  1659. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Stratum");
  1660. ShowMenuForPlayer(Spoilers, playerid);
  1661. }
  1662. else if(pmodelid[playerid] == 560) // Sultan
  1663. {
  1664. AddVehicleComponent(car,1139);
  1665. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Sultan");
  1666. ShowMenuForPlayer(Spoilers, playerid);
  1667. }
  1668. else if(pmodelid[playerid] == 558) // Uranus
  1669. {
  1670. AddVehicleComponent(car,1163);
  1671. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Uranus");
  1672. ShowMenuForPlayer(Spoilers, playerid);
  1673. }
  1674. }
  1675. else
  1676. {
  1677. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to X-Flow Arch Angels Car types");
  1678. ShowMenuForPlayer(TuningMenu, playerid);
  1679. }
  1680.  
  1681. case 2:
  1682. {
  1683. ShowMenuForPlayer(TuningMenu, playerid);
  1684. }
  1685. }
  1686. }
  1687.  
  1688.  
  1689. if(Current == Sideskirts) {
  1690. switch(row){
  1691.  
  1692.  
  1693. //-------------------Alien Sideskirts Wheel Arch Cars----------------------------------------------------------
  1694. case 0:
  1695. if(pmodelid[playerid] == 562 ||
  1696. pmodelid[playerid] == 565 ||
  1697. pmodelid[playerid] == 559 ||
  1698. pmodelid[playerid] == 561 ||
  1699. pmodelid[playerid] == 560)
  1700. {
  1701.  
  1702. new car = GetPlayerVehicleID(playerid);
  1703. if(pmodelid[playerid] == 562) // Elegy
  1704. {
  1705. AddVehicleComponent(car,1036);
  1706. AddVehicleComponent(car,1040);
  1707. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Elegy");
  1708. ShowMenuForPlayer(Sideskirts, playerid);
  1709. }
  1710. else if(pmodelid[playerid] == 565) // Flash
  1711. {
  1712. AddVehicleComponent(car,1047);
  1713. AddVehicleComponent(car,1051);
  1714. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Sideskirts vent component on Flash");
  1715. ShowMenuForPlayer(Sideskirts, playerid);
  1716. }
  1717. else if(pmodelid[playerid] == 559) // Jester
  1718. {
  1719. AddVehicleComponent(car,1069);
  1720. AddVehicleComponent(car,1071);
  1721. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Jester");
  1722. ShowMenuForPlayer(Sideskirts, playerid);
  1723. }
  1724. else if(pmodelid[playerid] == 561) // Stratum
  1725. {
  1726. AddVehicleComponent(car,1056);
  1727. AddVehicleComponent(car,1062);
  1728. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Stratum");
  1729. ShowMenuForPlayer(Sideskirts, playerid);
  1730. }
  1731. else if(pmodelid[playerid] == 560) // Sultan
  1732. {
  1733. AddVehicleComponent(car,1026);
  1734. AddVehicleComponent(car,1027);
  1735. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts bumper component on Sultan");
  1736. ShowMenuForPlayer(Sideskirts, playerid);
  1737. }
  1738. else if(pmodelid[playerid] == 558) // Uranus
  1739. {
  1740. AddVehicleComponent(car,1090);
  1741. AddVehicleComponent(car,1094);
  1742. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Uranus");
  1743. ShowMenuForPlayer(Sideskirts, playerid);
  1744. }
  1745. }
  1746. else
  1747. {
  1748. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1749. ShowMenuForPlayer(TuningMenu, playerid);
  1750. }
  1751.  
  1752. //-------------------X-Flow Sideskirts-Wheel Arch Cars----------------------------------------------------------
  1753. case 1:
  1754.  
  1755. if(pmodelid[playerid] == 562 ||
  1756. pmodelid[playerid] == 565 ||
  1757. pmodelid[playerid] == 559 ||
  1758. pmodelid[playerid] == 561 ||
  1759. pmodelid[playerid] == 560)
  1760. {
  1761.  
  1762.  
  1763. new car = GetPlayerVehicleID(playerid);
  1764. if(pmodelid[playerid] == 562) // Elegy
  1765. {
  1766. AddVehicleComponent(car,1039);
  1767. AddVehicleComponent(car,1041);
  1768. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Elegy");
  1769. ShowMenuForPlayer(Sideskirts, playerid);
  1770. }
  1771. else if(pmodelid[playerid] == 565) // Flash
  1772. {
  1773. AddVehicleComponent(car,1048);
  1774. AddVehicleComponent(car,1052);
  1775. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Flash");
  1776. ShowMenuForPlayer(Sideskirts, playerid);
  1777. }
  1778. else if(pmodelid[playerid] == 559) // Jetser
  1779. {
  1780. AddVehicleComponent(car,1070);
  1781. AddVehicleComponent(car,1072);
  1782. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Jester");
  1783. ShowMenuForPlayer(Sideskirts, playerid);
  1784. }
  1785. else if(pmodelid[playerid] == 561) // Stratum
  1786. {
  1787. AddVehicleComponent(car,1057);
  1788. AddVehicleComponent(car,1063);
  1789. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Stratum");
  1790. ShowMenuForPlayer(Sideskirts, playerid);
  1791. }
  1792. else if(pmodelid[playerid] == 560) // Sultan
  1793. {
  1794. AddVehicleComponent(car,1031);
  1795. AddVehicleComponent(car,1030);
  1796. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Sultan");
  1797. ShowMenuForPlayer(Sideskirts, playerid);
  1798. }
  1799. else if(pmodelid[playerid] == 558) // Uranus
  1800. {
  1801. AddVehicleComponent(car,1093);
  1802. AddVehicleComponent(car,1095);
  1803. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Uranus");
  1804. ShowMenuForPlayer(Sideskirts, playerid);
  1805. }
  1806. }
  1807. else
  1808. {
  1809. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
  1810. ShowMenuForPlayer(TuningMenu, playerid);
  1811. }
  1812.  
  1813. //-------------------Locos Low Chrome Strip Side Skirts----------------------------------------------------------
  1814. case 2:
  1815. if(pmodelid[playerid] == 575 ||
  1816. pmodelid[playerid] == 536 ||
  1817. pmodelid[playerid] == 576 ||
  1818. pmodelid[playerid] == 567)
  1819. {
  1820. new car = GetPlayerVehicleID(playerid);
  1821. if(pmodelid[playerid] == 575) // Brodway
  1822. {
  1823. AddVehicleComponent(car,1042);
  1824. AddVehicleComponent(car,1099);
  1825. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Brodway");
  1826. ShowMenuForPlayer(Sideskirts, playerid);
  1827. }
  1828. else if(pmodelid[playerid] == 567) // Savanna
  1829. {
  1830. AddVehicleComponent(car,1102);
  1831. AddVehicleComponent(car,1133);
  1832. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Savanna");
  1833. ShowMenuForPlayer(Sideskirts, playerid);
  1834. }
  1835. else if(pmodelid[playerid] == 576) // Tornado
  1836. {
  1837. AddVehicleComponent(car,1134);
  1838. AddVehicleComponent(car,1137);
  1839. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Tornado");
  1840. ShowMenuForPlayer(Sideskirts, playerid);
  1841. }
  1842. else if(pmodelid[playerid] == 536) // Blade
  1843. {
  1844. AddVehicleComponent(car,1108);
  1845. AddVehicleComponent(car,1107);
  1846. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Blade");
  1847. ShowMenuForPlayer(Sideskirts, playerid);
  1848. }
  1849. }
  1850. else
  1851. {
  1852. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types Brodway, Savanna Tornado and Blade");
  1853. ShowMenuForPlayer(TuningMenu, playerid);
  1854. }
  1855. //-------------------Locos Low Chrome Flames Side Skirts----------------------------------------------------------
  1856. case 3:
  1857. if(pmodelid[playerid] == 534 ||
  1858. pmodelid[playerid] == 534)
  1859. {
  1860. new car = GetPlayerVehicleID(playerid);
  1861. if(pmodelid[playerid] == 534) // Remington
  1862. {
  1863. AddVehicleComponent(car,1122);
  1864. AddVehicleComponent(car,1101);
  1865. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Flames Side Skirts component on Remington");
  1866. ShowMenuForPlayer(Sideskirts, playerid);
  1867. }
  1868. }
  1869. else
  1870. {
  1871. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington ");
  1872. ShowMenuForPlayer(TuningMenu, playerid);
  1873. }
  1874. //-------------------Locos Low Chrome Arches Side Skirts----------------------------------------------------------
  1875.  
  1876. case 4:
  1877. if(pmodelid[playerid] == 534 ||
  1878. pmodelid[playerid] == 534)
  1879. {
  1880. new car = GetPlayerVehicleID(playerid);
  1881. if(pmodelid[playerid] == 534) // Remington
  1882. {
  1883. AddVehicleComponent(car,1106);
  1884. AddVehicleComponent(car,1124);
  1885. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Arches Side Skirts component on Remington");
  1886. ShowMenuForPlayer(Sideskirts, playerid);
  1887. }
  1888. }
  1889. else
  1890. {
  1891. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington ");
  1892. ShowMenuForPlayer(TuningMenu, playerid);
  1893. }
  1894.  
  1895.  
  1896.  
  1897.  
  1898. //-------------------Locos Low Chrome Trim Side Skirts----------------------------------------------------------
  1899. case 5:
  1900. if(pmodelid[playerid] == 535)
  1901.  
  1902. {
  1903. new car = GetPlayerVehicleID(playerid);
  1904. if(pmodelid[playerid] == 535) // Slamvan
  1905. {
  1906. AddVehicleComponent(car,1118);
  1907. AddVehicleComponent(car,1120);
  1908. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Trim Side Skirts component on Slamvan");
  1909. ShowMenuForPlayer(Sideskirts, playerid);
  1910. }
  1911. }
  1912. else
  1913. {
  1914. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Slamvan ");
  1915. ShowMenuForPlayer(TuningMenu, playerid);
  1916. }
  1917.  
  1918. //-------------------Locos Low Chrome Wheelcovers Side Skirts----------------------------------------------------------
  1919. case 6:
  1920. if(pmodelid[playerid] == 535)
  1921.  
  1922. {
  1923. new car = GetPlayerVehicleID(playerid);
  1924. if(pmodelid[playerid] == 535) // Slamvan
  1925. {
  1926. AddVehicleComponent(car,1119);
  1927. AddVehicleComponent(car,1121);
  1928. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Wheelcovers component on Slamvan");
  1929. ShowMenuForPlayer(Sideskirts, playerid);
  1930. }
  1931. }
  1932. else
  1933. {
  1934. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Slamvan ");
  1935. ShowMenuForPlayer(TuningMenu, playerid);
  1936. }
  1937.  
  1938. case 7:ShowMenuForPlayer(TuningMenu, playerid);
  1939. }
  1940. }
  1941.  
  1942. //-------------------Locos Low Chrome Grill ----------------------------------------------------------
  1943.  
  1944. if(Current == Bullbars) {
  1945. switch(row){
  1946.  
  1947. case 0:
  1948. if(pmodelid[playerid] == 534)
  1949.  
  1950. {
  1951. new car = GetPlayerVehicleID(playerid);
  1952. if(pmodelid[playerid] == 534) // Remington
  1953. {
  1954. AddVehicleComponent(car,1100);
  1955. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Grill component on Remington");
  1956. ShowMenuForPlayer(Bullbars, playerid);
  1957. }
  1958. }
  1959. else
  1960. {
  1961. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington ");
  1962. ShowMenuForPlayer(TuningMenu, playerid);
  1963. }
  1964. //-------------------Locos Low Chrome Bars ----------------------------------------------------------
  1965. case 1:
  1966. if(pmodelid[playerid] == 534)
  1967.  
  1968. {
  1969. new car = GetPlayerVehicleID(playerid);
  1970. if(pmodelid[playerid] == 534) // Remington
  1971. {
  1972. AddVehicleComponent(car,1123);
  1973. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Bars component on Remington");
  1974. ShowMenuForPlayer(Bullbars, playerid);
  1975. }
  1976. }
  1977. else
  1978. {
  1979. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington ");
  1980. ShowMenuForPlayer(TuningMenu, playerid);
  1981. }
  1982. //-------------------Locos Low Chrome Lights ----------------------------------------------------------
  1983.  
  1984.  
  1985. case 2:
  1986. if(pmodelid[playerid] == 534)
  1987.  
  1988. {
  1989. new car = GetPlayerVehicleID(playerid);
  1990. if(pmodelid[playerid] == 534) // Remington
  1991. {
  1992. AddVehicleComponent(car,1125);
  1993. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Lights component on Remington");
  1994. ShowMenuForPlayer(Bullbars, playerid);
  1995. }
  1996. }
  1997. else
  1998. {
  1999. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington ");
  2000. ShowMenuForPlayer(TuningMenu, playerid);
  2001. }
  2002.  
  2003.  
  2004.  
  2005.  
  2006. //-------------------Locos Low Chrome Bullbar ----------------------------------------------------------
  2007.  
  2008.  
  2009. case 3:
  2010. if(pmodelid[playerid] == 535)
  2011.  
  2012. {
  2013. new car = GetPlayerVehicleID(playerid);
  2014. if(pmodelid[playerid] == 535) // Slamvan
  2015. {
  2016. AddVehicleComponent(car,1117);
  2017. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Lights component on Slamvan");
  2018. ShowMenuForPlayer(Bullbars, playerid);
  2019. }
  2020. }
  2021. else
  2022. {
  2023. SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Slamvan ");
  2024. ShowMenuForPlayer(TuningMenu, playerid);
  2025. }
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034. case 4:ShowMenuForPlayer(TuningMenu, playerid);
  2035. }
  2036. }
  2037.  
  2038.  
  2039.  
  2040. if(Current == Wheels) {
  2041. switch(row){
  2042. case 0:
  2043. if(GetPlayerMoney(playerid) >= 0)
  2044. {
  2045. new car = GetPlayerVehicleID(playerid);
  2046. AddVehicleComponent(car,1025);
  2047. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Offroad Wheels ");
  2048. ShowMenuForPlayer(Wheels, playerid);
  2049. }
  2050. else
  2051. {
  2052. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2053. ShowMenuForPlayer(TuningMenu, playerid);
  2054. }
  2055. case 1:
  2056. if(GetPlayerMoney(playerid) >= 0)
  2057. {
  2058. new car = GetPlayerVehicleID(playerid);
  2059. AddVehicleComponent(car,1074);
  2060. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Mega Wheels");
  2061. ShowMenuForPlayer(Wheels, playerid);
  2062. }
  2063. else
  2064. {
  2065. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2066. ShowMenuForPlayer(TuningMenu, playerid);
  2067. }
  2068. case 2:
  2069. if(GetPlayerMoney(playerid) >= 0)
  2070. {
  2071. new car = GetPlayerVehicleID(playerid);
  2072. AddVehicleComponent(car,1076);
  2073. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wires Wheels");
  2074. ShowMenuForPlayer(Wheels, playerid);
  2075. }
  2076. else
  2077. {
  2078. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2079. ShowMenuForPlayer(TuningMenu, playerid);
  2080. }
  2081. case 3:
  2082. if(GetPlayerMoney(playerid) >= 0)
  2083. {
  2084. new car = GetPlayerVehicleID(playerid);
  2085. AddVehicleComponent(car,1078);
  2086. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Twist Wheels");
  2087. ShowMenuForPlayer(Wheels, playerid);
  2088. }
  2089. else
  2090. {
  2091. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2092. ShowMenuForPlayer(Wheels, playerid);
  2093. }
  2094. case 4:
  2095. if(GetPlayerMoney(playerid) >= 0)
  2096. {
  2097. new car = GetPlayerVehicleID(playerid);
  2098. AddVehicleComponent(car,1081);
  2099. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Grove Wheels");
  2100. ShowMenuForPlayer(Wheels, playerid);
  2101. }
  2102. else
  2103. {
  2104. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2105. ShowMenuForPlayer(TuningMenu, playerid);
  2106. }
  2107. case 5:
  2108. if(GetPlayerMoney(playerid) >= 0)
  2109. {
  2110. new car = GetPlayerVehicleID(playerid);
  2111. AddVehicleComponent(car,1082);
  2112. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Import Wheels");
  2113. ShowMenuForPlayer(Wheels, playerid);
  2114. }
  2115. else
  2116. {
  2117. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2118. ShowMenuForPlayer(TuningMenu, playerid);
  2119. }
  2120. case 6:
  2121. if(GetPlayerMoney(playerid) >= 0)
  2122. {
  2123. new car = GetPlayerVehicleID(playerid);
  2124. AddVehicleComponent(car,1085);
  2125. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Atomic Wheels");
  2126. ShowMenuForPlayer(Wheels, playerid);
  2127. }
  2128. else
  2129. {
  2130. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2131. ShowMenuForPlayer(TuningMenu, playerid);
  2132. }
  2133. case 7:
  2134. if(GetPlayerMoney(playerid) >= 0)
  2135. {
  2136. new car = GetPlayerVehicleID(playerid);
  2137. AddVehicleComponent(car,1096);
  2138. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Ahab Wheels");
  2139. ShowMenuForPlayer(Wheels, playerid);
  2140. }
  2141. else
  2142. {
  2143. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2144. ShowMenuForPlayer(TuningMenu, playerid);
  2145. }
  2146. case 8:
  2147. if(GetPlayerMoney(playerid) >= 0)
  2148. {
  2149. new car = GetPlayerVehicleID(playerid);
  2150. AddVehicleComponent(car,1097);
  2151. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Virtual Wheels");
  2152. ShowMenuForPlayer(Wheels, playerid);
  2153. }
  2154. else
  2155. {
  2156. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2157. ShowMenuForPlayer(TuningMenu, playerid);
  2158. }
  2159. case 9:
  2160. if(GetPlayerMoney(playerid) >= 0)
  2161. {
  2162. new car = GetPlayerVehicleID(playerid);
  2163. AddVehicleComponent(car,1098);
  2164. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Access Wheels");
  2165. ShowMenuForPlayer(Wheels, playerid);
  2166. }
  2167. else
  2168. {
  2169. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2170. ShowMenuForPlayer(TuningMenu, playerid);
  2171. }
  2172. case 10:
  2173. {
  2174.  
  2175. ShowMenuForPlayer(Wheels1, playerid);
  2176. }
  2177.  
  2178. case 11:
  2179. {
  2180.  
  2181. ShowMenuForPlayer(TuningMenu, playerid);
  2182. }
  2183.  
  2184. }
  2185. }
  2186.  
  2187. if(Current == Wheels1) {
  2188. switch(row){
  2189. case 0:
  2190. if(GetPlayerMoney(playerid) >= 0)
  2191. {
  2192. new car = GetPlayerVehicleID(playerid);
  2193. AddVehicleComponent(car,1084);
  2194. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Trance Wheels ");
  2195. ShowMenuForPlayer(Wheels1, playerid);
  2196. }
  2197. else
  2198. {
  2199. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2200. ShowMenuForPlayer(TuningMenu, playerid);
  2201. }
  2202. case 1:
  2203. if(GetPlayerMoney(playerid) >= 0)
  2204. {
  2205. new car = GetPlayerVehicleID(playerid);
  2206. AddVehicleComponent(car,1073);
  2207. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Shadow Wheels");
  2208. ShowMenuForPlayer(Wheels1, playerid);
  2209. }
  2210. else
  2211. {
  2212. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2213. ShowMenuForPlayer(TuningMenu, playerid);
  2214. }
  2215. case 2:
  2216. if(GetPlayerMoney(playerid) >= 0)
  2217. {
  2218. new car = GetPlayerVehicleID(playerid);
  2219. AddVehicleComponent(car,1075);
  2220. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Rimshine Wheels");
  2221. ShowMenuForPlayer(Wheels1, playerid);
  2222. }
  2223. else
  2224. {
  2225. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2226. ShowMenuForPlayer(TuningMenu, playerid);
  2227. }
  2228. case 3:
  2229. if(GetPlayerMoney(playerid) >= 0)
  2230. {
  2231. new car = GetPlayerVehicleID(playerid);
  2232. AddVehicleComponent(car,1077);
  2233. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Classic Wheels");
  2234. ShowMenuForPlayer(Wheels1, playerid);
  2235. }
  2236. else
  2237. {
  2238. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2239. ShowMenuForPlayer(Wheels, playerid);
  2240. }
  2241. case 4:
  2242. if(GetPlayerMoney(playerid) >= 0)
  2243. {
  2244. new car = GetPlayerVehicleID(playerid);
  2245. AddVehicleComponent(car,1079);
  2246. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Cutter Wheels");
  2247. ShowMenuForPlayer(Wheels1, playerid);
  2248. }
  2249. else
  2250. {
  2251. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2252. ShowMenuForPlayer(TuningMenu, playerid);
  2253. }
  2254. case 5:
  2255. if(GetPlayerMoney(playerid) >= 0)
  2256. {
  2257. new car = GetPlayerVehicleID(playerid);
  2258. AddVehicleComponent(car,1080);
  2259. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Switch Wheels");
  2260. ShowMenuForPlayer(Wheels1, playerid);
  2261. }
  2262. else
  2263. {
  2264. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2265. ShowMenuForPlayer(TuningMenu, playerid);
  2266. }
  2267. case 6:
  2268. if(GetPlayerMoney(playerid) >= 0)
  2269. {
  2270. new car = GetPlayerVehicleID(playerid);
  2271. AddVehicleComponent(car,1083);
  2272. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Dollar Wheels");
  2273. ShowMenuForPlayer(Wheels1, playerid);
  2274. }
  2275. else
  2276. {
  2277. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2278. ShowMenuForPlayer(TuningMenu, playerid);
  2279. }
  2280. case 7:
  2281. {
  2282.  
  2283. ShowMenuForPlayer(TuningMenu, playerid);
  2284. }
  2285. }
  2286. }
  2287.  
  2288.  
  2289. if(Current == Carstereo) {
  2290. switch(row){
  2291. case 0:
  2292. if(GetPlayerMoney(playerid) >= 0)
  2293. {
  2294. new car = GetPlayerVehicleID(playerid);
  2295. AddVehicleComponent(car,1086);
  2296. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Stereo Bass bost system ");
  2297. ShowMenuForPlayer(Carstereo, playerid);
  2298. }
  2299. else
  2300. {
  2301. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2302. ShowMenuForPlayer(TuningMenu, playerid);
  2303. }
  2304. case 1:
  2305.  
  2306. {
  2307. ShowMenuForPlayer(TuningMenu, playerid);
  2308. }
  2309. }
  2310. }
  2311.  
  2312. if(Current == Hydraulics) {
  2313. switch(row){
  2314. case 0:
  2315. if(GetPlayerMoney(playerid) >= 0)
  2316. {
  2317. new car = GetPlayerVehicleID(playerid);
  2318. AddVehicleComponent(car,1087);
  2319. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Hydraulics to car ");
  2320. ShowMenuForPlayer(Hydraulics, playerid);
  2321. }
  2322. else
  2323. {
  2324. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2325. ShowMenuForPlayer(TuningMenu, playerid);
  2326. }
  2327.  
  2328. case 1:
  2329.  
  2330. {
  2331. ShowMenuForPlayer(TuningMenu, playerid);
  2332. }
  2333. }
  2334. }
  2335.  
  2336. if(Current == Nitro) {
  2337. switch(row){
  2338. case 0:
  2339. if(GetPlayerMoney(playerid) >= 0)
  2340. {
  2341. new car = GetPlayerVehicleID(playerid);
  2342. AddVehicleComponent(car,1008);
  2343. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added 2x Nitro to car ");
  2344. ShowMenuForPlayer(Nitro, playerid);
  2345. }
  2346. else
  2347. {
  2348. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2349. ShowMenuForPlayer(TuningMenu, playerid);
  2350. }
  2351. case 1:
  2352. if(GetPlayerMoney(playerid) >= 0)
  2353. {
  2354. new car = GetPlayerVehicleID(playerid);
  2355. AddVehicleComponent(car,1009);
  2356. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added 5x Nitro to car");
  2357. ShowMenuForPlayer(Nitro, playerid);
  2358. }
  2359. else
  2360. {
  2361. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2362. ShowMenuForPlayer(TuningMenu, playerid);
  2363. }
  2364. case 2:
  2365. if(GetPlayerMoney(playerid) >= 0)
  2366. {
  2367. new car = GetPlayerVehicleID(playerid);
  2368. AddVehicleComponent(car,1010);
  2369. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added 10x Nitro to car");
  2370. ShowMenuForPlayer(Nitro, playerid);
  2371. }
  2372. else
  2373. {
  2374. SendClientMessage(playerid,COLOR_RED,"Not enough money!");
  2375. ShowMenuForPlayer(TuningMenu, playerid);
  2376. }
  2377. case 3:
  2378.  
  2379. {
  2380. ShowMenuForPlayer(TuningMenu, playerid);
  2381. }
  2382. }
  2383. }
  2384.  
  2385.  
  2386. //--------------------------Main Menu page 2 ----------------------------------------------------------------------------
  2387. if(Current == TuningMenu1) {
  2388. switch(row){
  2389. case 0:
  2390. if(IsPlayerConnected(playerid))
  2391. {
  2392. ShowMenuForPlayer(Hydraulics, playerid);
  2393. }
  2394. case 1:
  2395. if(IsPlayerConnected(playerid))
  2396. {
  2397. ShowMenuForPlayer(Nitro, playerid);
  2398. }
  2399. case 2:
  2400. {
  2401. new car = GetPlayerVehicleID(playerid);
  2402. SetVehicleHealth(car,1000);
  2403. SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repaired car");
  2404. ShowMenuForPlayer(TuningMenu1, playerid);
  2405.  
  2406. }
  2407.  
  2408. case 3:
  2409. if(IsPlayerConnected(playerid))
  2410. {
  2411. ShowMenuForPlayer(TuningMenu, playerid);
  2412. }
  2413.  
  2414.  
  2415. }
  2416. }
  2417. return 0;
  2418.  
  2419. }
  2420.  
  2421. // Yea this is it end of script.Hope you like it enjoy 13.08.2007
  2422. // by Rsts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement