23.01.2011, 12:33
Tengo este filter script y quiero adaptarlo para el trabajo de id7 de mi gm:
Quote:
//--------------------------Main Menu ---------------------------------------------------------------------------- new Menu:TuningMenu,Menu:TuningMenu1,Menu:Paintjobs,Me nu:Colors,Menu:Colors1,Menu:Exhausts,Menu:Frontbum per,Menu:Rearbumper,Menu:Roof,Menu:Spoilers,Menu:S ideskirts,Menu:Bullbars,Menu:Wheels,Menu:Wheels1,M enu:Carstereo; //--------------------------Main Menu page 2 ---------------------------------------------------------------------------- new Menu:Hydraulics,Menu:Nitro; //static pvehicleid[MAX_PLAYERS]; // array containing players vehicle id (loaded when player enters as driver) new modelid[MAX_PLAYERS]; // array containing players vehicle MODEL id (loaded when player enters as driver) public OnFilterScriptInit() { print("\n--------------------------------------"); print("Transfender,Wheel Arch Angels and Lowrider vehicles supported"); print("Car tuning menus v.1.0"); print("Coded by Lucas_Bertone aks Rsts"); print("Cleaned up a bit by kaisersouse 4/11/2008"); print("--------------------------------------\n"); //--------------------------Main Menu ----------------------------------------- TuningMenu = CreateMenu("TuningMenu",1,20,120,150); AddMenuItem(TuningMenu,0,"Paint Jobs"); AddMenuItem(TuningMenu,0,"Colors"); AddMenuItem(TuningMenu,0,"Exhausts"); AddMenuItem(TuningMenu,0,"Front Bumper"); AddMenuItem(TuningMenu,0,"Rear Bumper"); AddMenuItem(TuningMenu,0,"Roof"); AddMenuItem(TuningMenu,0,"Spoilers"); AddMenuItem(TuningMenu,0,"Side Skirts"); AddMenuItem(TuningMenu,0,"Bullbars"); AddMenuItem(TuningMenu,0,"Wheels"); AddMenuItem(TuningMenu,0,"Car Stereo"); AddMenuItem(TuningMenu,0,"Next Page"); Paintjobs = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Paintjobs,0,"PaintJobs"); AddMenuItem(Paintjobs,0,"Paintjob 1"); AddMenuItem(Paintjobs,0,"Paintjob 2"); AddMenuItem(Paintjobs,0,"Paintjob 3"); AddMenuItem(Paintjobs,0,"Paintjob 4"); AddMenuItem(Paintjobs,0,"Paintjob 5"); AddMenuItem(Paintjobs,0,"Main Menu"); Colors = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Colors,0,"Colors"); AddMenuItem(Colors,0,"Black"); AddMenuItem(Colors,0,"White"); AddMenuItem(Colors,0,"Red"); AddMenuItem(Colors,0,"Blue"); AddMenuItem(Colors,0,"Green"); AddMenuItem(Colors,0,"Yellow"); AddMenuItem(Colors,0,"Pink"); AddMenuItem(Colors,0,"Brown"); AddMenuItem(Colors,0,"Next Page"); Colors1 = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Colors1,0,"Colors"); AddMenuItem(Colors1,0,"Grey"); AddMenuItem(Colors1,0,"Gold"); AddMenuItem(Colors1,0,"Dark Blue"); AddMenuItem(Colors1,0,"Light Blue"); AddMenuItem(Colors1,0,"Green"); AddMenuItem(Colors1,0,"Light Grey"); AddMenuItem(Colors1,0,"Dark Red"); AddMenuItem(Colors1,0,"Dark Brown"); AddMenuItem(Colors1,0,"Main Menu"); Exhausts = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Exhausts,0,"Exhausts"); AddMenuItem(Exhausts,0,"Wheel Arch Alien Exhaust"); AddMenuItem(Exhausts,0,"Wheel Arch X-Flow Exhaust"); AddMenuItem(Exhausts,0,"Locos Low Chromer Exhaust"); AddMenuItem(Exhausts,0,"Locos Low Slamin Exhaust"); AddMenuItem(Exhausts,0,"Main Menu"); Frontbumper = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Frontbumper,0,"Frontbumpers"); AddMenuItem(Frontbumper,0,"Wheel Arch Alien bumper"); AddMenuItem(Frontbumper,0,"Wheel Arch X-Flow bumper"); AddMenuItem(Frontbumper,0,"Locos Low Chromer bumper"); AddMenuItem(Frontbumper,0,"Locos Low Slamin bumper"); AddMenuItem(Frontbumper,0,"Main Menu"); Rearbumper = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Rearbumper,0,"Rearbumpers"); AddMenuItem(Rearbumper,0,"Wheel Arch Alien bumper"); AddMenuItem(Rearbumper,0,"Wheel Arch X-Flow bumper"); AddMenuItem(Rearbumper,0,"Locos Low Chromer bumper"); AddMenuItem(Rearbumper,0,"Locos Low Slamin bumper"); AddMenuItem(Rearbumper,0,"Main Menu"); Roof = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Roof,0,"Roof"); AddMenuItem(Roof,0,"Wheel Arch Alien Roof Vent"); AddMenuItem(Roof,0,"Wheel Arch X-Flow Roof Vent"); AddMenuItem(Roof,0,"Locos Low Hardtop Roof"); AddMenuItem(Roof,0,"Locos Low Softtop Roof"); AddMenuItem(Roof,0,"Main Menu"); Spoilers = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Spoilers,0,"Spoliers"); AddMenuItem(Spoilers,0,"Alien Spoiler"); AddMenuItem(Spoilers,0,"X-Flow Spoiler"); AddMenuItem(Spoilers,0,"Main Menu"); Sideskirts = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Sideskirts,0,"SideSkirts"); AddMenuItem(Sideskirts,0,"Wheel Arch Alien Side Skirts"); AddMenuItem(Sideskirts,0,"Wheel Arch X-Flow Side Skirts"); AddMenuItem(Sideskirts,0,"Locos Low Chrome Strip"); AddMenuItem(Sideskirts,0,"Locos Low Chrome Flames"); AddMenuItem(Sideskirts,0,"Locos Low Chrome Arches"); AddMenuItem(Sideskirts,0,"Locos Low Chrome Trim"); AddMenuItem(Sideskirts,0,"Locos Low Wheelcovers"); AddMenuItem(Sideskirts,0,"Main Menu"); Bullbars = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Bullbars,0,"Bullbars"); AddMenuItem(Bullbars,0,"Locos Low Chrome Grill"); AddMenuItem(Bullbars,0,"Locos Low Chrome Bars"); AddMenuItem(Bullbars,0,"Locos Low Chrome Lights"); AddMenuItem(Bullbars,0,"Locos Low Chrome Bullbar"); AddMenuItem(Bullbars,0,"Main Menu"); Wheels = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Wheels,0,"Wheels"); AddMenuItem(Wheels,0,"Offroad"); AddMenuItem(Wheels,0,"Mega"); AddMenuItem(Wheels,0,"Wires"); AddMenuItem(Wheels,0,"Twist"); AddMenuItem(Wheels,0,"Grove"); AddMenuItem(Wheels,0,"Import"); AddMenuItem(Wheels,0,"Atomic"); AddMenuItem(Wheels,0,"Ahab"); AddMenuItem(Wheels,0,"Virtual"); AddMenuItem(Wheels,0,"Access"); AddMenuItem(Wheels,0,"Next Page"); AddMenuItem(Wheels,0,"Main Menu"); Wheels1 = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Wheels1,0,"Wheels"); AddMenuItem(Wheels1,0,"Trance"); AddMenuItem(Wheels1,0,"Shadow"); AddMenuItem(Wheels1,0,"Rimshine"); AddMenuItem(Wheels1,0,"Classic"); AddMenuItem(Wheels1,0,"Cutter"); AddMenuItem(Wheels1,0,"Switch"); AddMenuItem(Wheels1,0,"Dollar"); AddMenuItem(Wheels1,0,"Menu Principal"); Carstereo = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Carstereo,0,"Stereo"); AddMenuItem(Carstereo,0,"Bass Boost"); AddMenuItem(Carstereo,0,"Main Menu"); //-------------------------Main Menu page 2 ------------------------------------ TuningMenu1= CreateMenu("TuningMenu",1,20,120,150); AddMenuItem(TuningMenu1,0,"Hydraulics"); AddMenuItem(TuningMenu1,0,"Nitro"); AddMenuItem(TuningMenu1,0,"Repair Car"); AddMenuItem(TuningMenu1,0,"Main Menu"); Hydraulics = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Hydraulics,0,"Hydraulics"); AddMenuItem(Hydraulics,0,"Hydraulics"); AddMenuItem(Hydraulics,0,"Main Menu"); Nitro = CreateMenu("TuningMenu",1,20,120,150); SetMenuColumnHeader(Nitro,0,"Nitro"); AddMenuItem(Nitro,0,"2x Nitrous"); AddMenuItem(Nitro,0,"5x Nitrous"); AddMenuItem(Nitro,0,"10x Nitrous"); AddMenuItem(Nitro,0,"Main Menu"); return 1; } public OnFilterScriptExit() { DestroyMenu(TuningMenu); DestroyMenu(TuningMenu1); DestroyMenu(Paintjobs); DestroyMenu(Colors); DestroyMenu(Colors1); DestroyMenu(Exhausts); DestroyMenu(Frontbumper); DestroyMenu(Rearbumper); DestroyMenu(Roof); DestroyMenu(Spoilers); DestroyMenu(Sideskirts); DestroyMenu(Bullbars); DestroyMenu(Wheels); DestroyMenu(Wheels1); DestroyMenu(Carstereo); DestroyMenu(Hydraulics); DestroyMenu(Nitro); return 1; } #else main() { print("\n----------------------------------"); print(" "); print("----------------------------------\n"); } #endif public OnPlayerConnect(playerid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { modelid[playerid]= GetVehicleModel(GetPlayerVehicleID(playerid)); } else { modelid[playerid]= 0; } return 1; } /* GetVehicleWithinDistance( playerid, Float:x1, Float:y1, Float:z1, Float:dist, &vehic){ for(new i = 1; i < MAX_VEHICLES; i++){ if(GetVehicleModel(i) > 0){ if(GetPlayerVehicleID(playerid) != i ){ new Float:x, Float:y, Float:z; new Float:x2, Float:y2, Float:z2; GetVehiclePos(i, x, y, z); x2 = x1 - x; y2 = y1 - y; z2 = z1 - z; new Float:iDist = (x2*x2+y2*y2+z2*z2); printf("Vehicle %d is %f", i, iDist); if( iDist < dist){ vehic = i; } } } } } #pragma unused GetVehicleWithinDistance */ public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/tunear", true) == 0) { new playerstate = GetPlayerState(playerid); if(playerstate == PLAYER_STATE_DRIVER) { TogglePlayerControllable(playerid,false); ModCar(playerid); } else { return SendClientMessage(playerid, COLOR_RED, "[ERROR] No puedes tunear un coche sino eres el conductor."); } return 1; } return 0; } //------------------------All car that are allowed to mod------------------------------------------------------------ // Put here all car's id's yo want to be modable // NOTE: DO NOT TRY TO ALLOW OR MOD BOATS ; PLANES OR OTHER NON CARS.THAT WIL CAUSE YOUR SERVER CRASH forward ModCar(playerid); public ModCar(playerid) { // changed to switch method to reduce processor load on server // new modelid[playerid]= GetVehicleModel(GetPlayerVehicleID(playerid)); // this executes a fair amt of stuff, so running it once to populate variable (modelid),THEN checking variable, makes more sense switch(modelid[playerid]) { /* case 562,565,559,561,560,575,534,567,536,535,576,411,57 9,602,496,518,527,589,597,419, 533,526,474,545,517,410,600,436,580,439,549,491,44 5,604,507,585,587,466,492,546,551,516, 426, 547, 405, 409, 550, 566, 540, 421, 529,431,438,437,420,525,552,416,433,427,490,528, 407,544,470,598,596,599,601,428,499,609,524,578,48 6,406,573,455,588,403,514,423, 414,443,515,456,422,482,530,418,572,413,440,543,58 3,478,554,402,542,603,475,568,504,457, 483,508,429,541,415,480,434,506,451,555,477,400,40 4,489,479,442,458,467,558: { */ case 445,602,429,496,422,401,518,402,541,438,527,415,54 2,589,480,507,585,419,587,533,526,466,492,474,579, 545,411,546,400,517,410,551,500,418,516,467,404,60 3,600,426,436,547,489,479,442,475,405,458,580,439, 409,550,506,566,549,420,451,540,491,412,478,421,52 9,555,477,562,565,559,561,560,558,536,575,534,567, 535,576: { ShowMenuForPlayerEx(TuningMenu, playerid); // TogglePlayerControllable(playerid,false); SendClientMessage(playerid, COLOR_WHITE, "[INFO] Select an item and push the SPACEBAR to approve."); } default: SendClientMessage(playerid,COLOR_RED,"[WARNING] You are not allowed to modify/tune this vehicle"); } return 1; } public OnPlayerExitedMenu(playerid) { new Menu:Current = GetPlayerMenu(playerid); HideMenuForPlayer(Current, playerid); TogglePlayerControllable(playerid, true); return 1; } public OnPlayerSelectedMenuRow(playerid, row) { new Menu:Current = GetPlayerMenu(playerid); if(Current == TuningMenu) { HideMenuForPlayer(Current,playerid); switch(row) { case 0: ShowMenuForPlayerEx(Paintjobs, playerid); case 1: ShowMenuForPlayerEx(Colors, playerid); case 2: ShowMenuForPlayerEx(Exhausts, playerid); case 3:ShowMenuForPlayerEx(Frontbumper, playerid); case 4:ShowMenuForPlayerEx(Rearbumper, playerid); case 5:ShowMenuForPlayerEx(Roof, playerid); case 6:ShowMenuForPlayerEx(Spoilers, playerid); case 7:ShowMenuForPlayerEx(Sideskirts, playerid); case 8:ShowMenuForPlayerEx(Bullbars, playerid); case 9:ShowMenuForPlayerEx(Wheels, playerid); case 10:ShowMenuForPlayerEx(Carstereo, playerid); case 11:ShowMenuForPlayerEx(TuningMenu1, playerid); default: return 1; } return 1; } if(Current == Paintjobs) { switch(row) { case 0: { switch(modelid[playerid]) { case 562,565,559,561,560,575,534,567,536,535,576,558: { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,0); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car"); ShowMenuForPlayerEx(Paintjobs, playerid); } default: { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars"); ShowMenuForPlayerEx(TuningMenu, playerid); } } } case 1: { switch(modelid[playerid]) { case 562,565,559,561,560,575,534,567,536,535,576,558: { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,1); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car"); ShowMenuForPlayerEx(Paintjobs, playerid); } default: { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars"); ShowMenuForPlayerEx(TuningMenu, playerid); } } } case 2: { switch(modelid[playerid]) { case 562,565,559,561,560,575,534,567,536,535,576,558: { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,2); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car"); ShowMenuForPlayerEx(Paintjobs, playerid); } default: { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars"); ShowMenuForPlayerEx(TuningMenu, playerid); } } } case 3: { switch(modelid[playerid]) { case 562,565,559,561,560,575,534,567,536,535,576,558: { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,3); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car"); ShowMenuForPlayerEx(Paintjobs, playerid); } default: { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars"); ShowMenuForPlayerEx(TuningMenu, playerid); } } } case 4: { switch(modelid[playerid]) { case 562,565,559,561,560,575,534,567,536,535,576,558: { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,4); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added paintjob to car"); ShowMenuForPlayerEx(Paintjobs, playerid); } default: { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars"); ShowMenuForPlayerEx(TuningMenu, playerid); } } } case 5: { ShowMenuForPlayerEx(TuningMenu, playerid); } default: return 1; } } if(Current == Colors) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,0,0); //GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,1,1); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 2: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,3,3); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 3: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,79,79); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 4: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,86,86); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 5: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,6,6); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 6: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,126,126); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 7: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,66,66); // GivePlayerMoney(playerid,-150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 8:ShowMenuForPlayerEx(Colors1, playerid); } return 1; } if(Current == Colors1) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,24,24); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,123,123); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 2: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,53,53); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 3: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,93,93); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 4: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,83,83); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 5: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,60,60); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 6: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,126,126); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 7: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,110,110); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repainted to car"); ShowMenuForPlayerEx(Colors1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 8:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } if(Current == Exhausts) { switch(row){ //-------------------Alien Exausts-Wheel Arch Cars---------------------------------------------------------- case 0: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) { AddVehicleComponent(car,1034); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Elegy"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 565) { AddVehicleComponent(car,1046); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Flash"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 559) { AddVehicleComponent(car,1065); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Jetser"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 561) { AddVehicleComponent(car,1064); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Stratum"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 560) { AddVehicleComponent(car,1028); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Sultan"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 558) { AddVehicleComponent(car,1089); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Exhaust component on Uranus"); ShowMenuForPlayerEx(Exhausts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------X-Flow Exausts-Wheel Arch Cars---------------------------------------------------------- case 1: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) { AddVehicleComponent(car,1037); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Elegy"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 565) { AddVehicleComponent(car,1045); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Flash"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 559) { AddVehicleComponent(car,1066); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow exaust component on Jester"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 561) { AddVehicleComponent(car,1059); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Stratum"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 560) { AddVehicleComponent(car,1029); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Sultan"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 558) { AddVehicleComponent(car,1092); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Exhaust component on Uranus"); ShowMenuForPlayerEx(Exhausts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chromer Exausts---------------------------------------------------------- case 2: if(modelid[playerid]== 575 || modelid[playerid]== 534 || modelid[playerid]== 567 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1044); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Brodway"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 534)// Remington { AddVehicleComponent(car,1126); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Remington"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 567)// Savanna { AddVehicleComponent(car,1129); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Savana"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1104); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Blade"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1113); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Slamvan"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1136); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer Exhaust component on Tornado"); ShowMenuForPlayerEx(Exhausts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Salmin Exausts---------------------------------------------------------- case 3: if(modelid[playerid]== 575 || modelid[playerid]== 534 || modelid[playerid]== 567 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1043); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Brodway"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 534)// Remington { AddVehicleComponent(car,1127); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Remingon"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 567)// Savanna { AddVehicleComponent(car,1132); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Savana"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1105); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Blade"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1114); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Slamvan"); ShowMenuForPlayerEx(Exhausts, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1135); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin Exhaust component on Tornado"); ShowMenuForPlayerEx(Exhausts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 4:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } if(Current == Frontbumper) { switch(row){ //-------------------Alien Front Bumper-Wheel Arch Cars---------------------------------------------------------- case 0: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1171); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Elegy"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1153); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Flash"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 559) // Jester { AddVehicleComponent(car,1160); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Jester"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1155); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Stratum"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1169); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Sultan"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1166); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien front bumper component on Uraus"); ShowMenuForPlayerEx(Frontbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------X-Flow Front Bumper-Wheel Arch Cars---------------------------------------------------------- case 1: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1172); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Elegy"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1152); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Flash"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 559) // Jetser { AddVehicleComponent(car,1173); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Jester"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1157); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Stratum"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1170); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Sultan"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1165); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow front bumper component on Uranus"); ShowMenuForPlayerEx(Frontbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chromer Front Bumper---------------------------------------------------------- case 2: if(modelid[playerid]== 575 || modelid[playerid]== 534 || modelid[playerid]== 567 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1174); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Brodway"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 534)// Remington { AddVehicleComponent(car,1179); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Remington"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 567)// Savanna { AddVehicleComponent(car,1189); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Savana"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1182); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Blade"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1115); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Slamvan"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1191); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer front bumper component on Tornado"); ShowMenuForPlayerEx(Frontbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Salmin Front Bumper---------------------------------------------------------- case 3: if(modelid[playerid]== 575 || modelid[playerid]== 534 || modelid[playerid]== 567 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 576) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1175); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Brodway"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 534)// Remington { AddVehicleComponent(car,1185); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Remington"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 567)// Savanna { AddVehicleComponent(car,1188); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Savana"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1181); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Blade"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1116); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Slamvan"); ShowMenuForPlayerEx(Frontbumper, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1190); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin front bumper component on Tornado"); ShowMenuForPlayerEx(Frontbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 4:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } if(Current == Rearbumper) { switch(row){ //-------------------Alien Rear Bumper-Wheel Arch Cars---------------------------------------------------------- case 0: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1149); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Elegy"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Flash"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 559) // Jester { AddVehicleComponent(car,1159); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Jester"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1154); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Stratum"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1141); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Sultan"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1168); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien rear bumper component on Uranus"); ShowMenuForPlayerEx(Rearbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------X-Flow Rear Bumper-Wheel Arch Cars---------------------------------------------------------- case 1: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1148); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Elegy"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1151); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Flash"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 559) // Jetser { AddVehicleComponent(car,1161); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Jester"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1156); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Stratum"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1140); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Sultan"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1167); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow rear bumper component on Uranus"); ShowMenuForPlayerEx(Rearbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chromer rear Bumper---------------------------------------------------------- case 2: if(modelid[playerid]== 575 || modelid[playerid]== 534 || modelid[playerid]== 567 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1176); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Brodway"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 534)// Remington { AddVehicleComponent(car,1180); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Remington"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 567)// Savanna { AddVehicleComponent(car,1187); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Savana"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1184); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Blade"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1109); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Slamvan"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1192); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chromer rear bumper component on Tornado"); ShowMenuForPlayerEx(Rearbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Salmin Rear Bumper---------------------------------------------------------- case 3: if(modelid[playerid]== 575 || modelid[playerid]== 534 || modelid[playerid]== 567 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1177); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Brodway"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 534)// Remington { AddVehicleComponent(car,1178); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Remington"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 567)// Savanna { AddVehicleComponent(car,1186); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Savana"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1183); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Blade"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1110); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Slamvan"); ShowMenuForPlayerEx(Rearbumper, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1193); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Slamin rear bumper component on Tornado"); ShowMenuForPlayerEx(Rearbumper, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 4:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } if(Current == Roof) { switch(row){ //-------------------Alien Roof Vent-Wheel Arch Cars---------------------------------------------------------- case 0: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1035); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Elegy"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1054); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Flash"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 559) // Jester { AddVehicleComponent(car,1067); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Jester"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1055); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Stratum"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1032); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Sultan"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1088); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien roof vent component on Uranus"); ShowMenuForPlayerEx(Roof, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------X-Flow Roof Vent-Wheel Arch Cars---------------------------------------------------------- case 1: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1035); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Elegy"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1053); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Flash"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 559) // Jetser { AddVehicleComponent(car,1068); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Jester"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1061); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Stratum"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1033); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Sultan"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1091); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow roof vent component on Uranus"); ShowMenuForPlayerEx(Roof, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Hardtop Roof ---------------------------------------------------------- case 2: if(modelid[playerid]== 567 || modelid[playerid]== 536) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 567) // Savana { AddVehicleComponent(car,1130); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Hardtop Roof component on Brodway"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1128); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Hardtop Roof component on Blade"); ShowMenuForPlayerEx(Roof, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types Savana and Blade"); ShowMenuForPlayerEx(Roof, playerid); } //-------------------Locos Low Softtop Roof ---------------------------------------------------------- case 3: if(modelid[playerid]== 567 || modelid[playerid]== 536) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 567) // Savana { AddVehicleComponent(car,1131); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Softtop Roof component on Brodway"); ShowMenuForPlayerEx(Roof, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1103); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Softtop Roof component on Blade"); ShowMenuForPlayerEx(Roof, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types Savana and Blade"); ShowMenuForPlayerEx(Roof, playerid); } case 4:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } if(Current == Spoilers) { switch(row){ //-------------------Alien Spoilers-Wheel Arch Cars---------------------------------------------------------- case 0: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1147); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Elegy"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1049); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Flash"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 559) // Jester { AddVehicleComponent(car,1162); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Jester"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1158); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Stratum"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1138); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Sultan"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1164); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Spoilers component on Uranus"); ShowMenuForPlayerEx(Spoilers, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------X-Flow Spoilers-Wheel Arch Cars---------------------------------------------------------- case 1: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1146); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Elegy"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1150); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Flash"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 559) // Jetser { AddVehicleComponent(car,1158); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Jester"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1060); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Stratum"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1139); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Sultan"); ShowMenuForPlayerEx(Spoilers, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1163); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Spoilers component on Uranus"); ShowMenuForPlayerEx(Spoilers, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to X-Flow Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 2: { ShowMenuForPlayerEx(TuningMenu, playerid); } } return 1; } if(Current == Sideskirts) { switch(row){ //-------------------Alien Sideskirts Wheel Arch Cars---------------------------------------------------------- case 0: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1036); AddVehicleComponent(car,1040); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Elegy"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1047); AddVehicleComponent(car,1051); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Sideskirts vent component on Flash"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 559) // Jester { AddVehicleComponent(car,1069); AddVehicleComponent(car,1071); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Jester"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1056); AddVehicleComponent(car,1062); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Stratum"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1026); AddVehicleComponent(car,1027); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts bumper component on Sultan"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1090); AddVehicleComponent(car,1094); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch Alien Side Skirts component on Uranus"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------X-Flow Sideskirts-Wheel Arch Cars---------------------------------------------------------- case 1: if(modelid[playerid]== 562 || modelid[playerid]== 565 || modelid[playerid]== 559 || modelid[playerid]== 561 || modelid[playerid]== 560) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 562) // Elegy { AddVehicleComponent(car,1039); AddVehicleComponent(car,1041); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Elegy"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 565) // Flash { AddVehicleComponent(car,1048); AddVehicleComponent(car,1052); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Flash"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 559) // Jetser { AddVehicleComponent(car,1070); AddVehicleComponent(car,1072); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Jester"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 561) // Stratum { AddVehicleComponent(car,1057); AddVehicleComponent(car,1063); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Stratum"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 560) // Sultan { AddVehicleComponent(car,1031); AddVehicleComponent(car,1030); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Sultan"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 558) // Uranus { AddVehicleComponent(car,1093); AddVehicleComponent(car,1095); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wheel Arch X-Flow Side Skirts component on Uranus"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Strip Side Skirts---------------------------------------------------------- case 2: if(modelid[playerid]== 575 || modelid[playerid]== 536 || modelid[playerid]== 576 || modelid[playerid]== 567) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 575) // Brodway { AddVehicleComponent(car,1042); AddVehicleComponent(car,1099); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Brodway"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 567) // Savana { AddVehicleComponent(car,1102); AddVehicleComponent(car,1133); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Savana"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 576) // Tornado { AddVehicleComponent(car,1134); AddVehicleComponent(car,1137); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Tornado"); ShowMenuForPlayerEx(Sideskirts, playerid); } else if(modelid[playerid]== 536) // Blade { AddVehicleComponent(car,1108); AddVehicleComponent(car,1107); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Strip Side Skirts component on Blade"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car types Brodway, Savana Tornado and Blade"); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Flames Side Skirts---------------------------------------------------------- case 3: if(modelid[playerid]== 534 || modelid[playerid]== 534) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 534) // Remington { AddVehicleComponent(car,1122); AddVehicleComponent(car,1101); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Flames Side Skirts component on Remington"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington "); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Arches Side Skirts---------------------------------------------------------- case 4: if(modelid[playerid]== 534 || modelid[playerid]== 534) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 534) // Remington { AddVehicleComponent(car,1106); AddVehicleComponent(car,1124); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Arches Side Skirts component on Remington"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington "); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Trim Side Skirts---------------------------------------------------------- case 5: if(modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1118); AddVehicleComponent(car,1120); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Trim Side Skirts component on Slamvan"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Slamvan "); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Wheelcovers Side Skirts---------------------------------------------------------- case 6: if(modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1119); AddVehicleComponent(car,1121); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Wheelcovers component on Slamvan"); ShowMenuForPlayerEx(Sideskirts, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Slamvan "); ShowMenuForPlayerEx(TuningMenu, playerid); } case 7:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } //-------------------Locos Low Chrome Grill ---------------------------------------------------------- if(Current == Bullbars) { switch(row){ case 0: if(modelid[playerid]== 534) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 534) // Remington { AddVehicleComponent(car,1100); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Grill component on Remington"); ShowMenuForPlayerEx(Bullbars, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington "); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Bars ---------------------------------------------------------- case 1: if(modelid[playerid]== 534) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 534) // Remington { AddVehicleComponent(car,1123); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Bars component on Remington"); ShowMenuForPlayerEx(Bullbars, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington "); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Lights ---------------------------------------------------------- case 2: if(modelid[playerid]== 534) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 534) // Remington { AddVehicleComponent(car,1125); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Lights component on Remington"); ShowMenuForPlayerEx(Bullbars, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Remington "); ShowMenuForPlayerEx(TuningMenu, playerid); } //-------------------Locos Low Chrome Bullbar ---------------------------------------------------------- case 3: if(modelid[playerid]== 535) { new car = GetPlayerVehicleID(playerid); if(modelid[playerid]== 535) // Slamvan { AddVehicleComponent(car,1117); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Locos Low Chrome Lights component on Slamvan"); ShowMenuForPlayerEx(Bullbars, playerid); } } else { SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Locos Low Car type Slamvan "); ShowMenuForPlayerEx(TuningMenu, playerid); } case 4:ShowMenuForPlayerEx(TuningMenu, playerid); } return 1; } if(Current == Wheels) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1025); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Offroad Wheels "); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1074); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Mega Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 2: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1076); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Wires Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 3: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1078); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Twist Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(Wheels, playerid); } case 4: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1081); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Grove Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 5: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1082); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Import Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 6: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1085); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Atomic Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 7: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1096); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Ahab Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 8: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1097); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Virtual Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 9: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1098); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Access Wheels"); ShowMenuForPlayerEx(Wheels, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 10: { ShowMenuForPlayerEx(Wheels1, playerid); } case 11: { ShowMenuForPlayerEx(TuningMenu, playerid); } } return 1; } if(Current == Wheels1) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1084); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Trance Wheels "); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1073); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Shadow Wheels"); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 2: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1075); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Rimshine Wheels"); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 3: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1077); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Classic Wheels"); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(Wheels, playerid); } case 4: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1079); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Cutter Wheels"); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 5: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1080); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Switch Wheels"); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 6: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1083); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Dollar Wheels"); ShowMenuForPlayerEx(Wheels1, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 7: { ShowMenuForPlayerEx(TuningMenu, playerid); } } return 1; } if(Current == Carstereo) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1086); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Stereo Bass bost system "); ShowMenuForPlayerEx(Carstereo, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: { ShowMenuForPlayerEx(TuningMenu, playerid); } } return 1; } if(Current == Hydraulics) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1087); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added Hydraulics to car "); ShowMenuForPlayerEx(Hydraulics, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: { ShowMenuForPlayerEx(TuningMenu, playerid); } } return 1; } if(Current == Nitro) { switch(row){ case 0: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1008); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added 2x Nitro to car "); ShowMenuForPlayerEx(Nitro, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 1: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1009); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added 5x Nitro to car"); ShowMenuForPlayerEx(Nitro, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 2: if(GetPlayerMoney(playerid) >= 0) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1010); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully added 10x Nitro to car"); ShowMenuForPlayerEx(Nitro, playerid); } else { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); ShowMenuForPlayerEx(TuningMenu, playerid); } case 3: { ShowMenuForPlayerEx(TuningMenu, playerid); } } return 1; } //--------------------------Main Menu page 2 ---------------------------------------------------------------------------- if(Current == TuningMenu1) { switch(row){ case 0: if(IsPlayerConnected(playerid)) { ShowMenuForPlayerEx(Hydraulics, playerid); } case 1: if(IsPlayerConnected(playerid)) { ShowMenuForPlayerEx(Nitro, playerid); } case 2: { new car = GetPlayerVehicleID(playerid); SetVehicleHealth(car,1000); SendClientMessage(playerid,COLOR_WHITE,"[INFO] You have succesfully repaired car"); ShowMenuForPlayerEx(TuningMenu1, playerid); } case 3: if(IsPlayerConnected(playerid)) { ShowMenuForPlayerEx(TuningMenu, playerid); } } } return 1; } forward ShowMenuForPlayerEx(Menu:menuid, playerid); public ShowMenuForPlayerEx(Menu:menuid, playerid) { ShowMenuForPlayer(menuid,playerid); TogglePlayerControllable(playerid,false); } |