08.06.2011, 16:43
Who can make me this 2 FS i one #include <a_samp>
PHP код:
#include <a_samp>
new bool:CreatedRamp[MAX_PLAYERS];
new Enabled[MAX_PLAYERS];
new Ramp[MAX_PLAYERS];
new Pers[MAX_PLAYERS];
public OnFilterScriptInit()
{
print("\n----------------------------------");
print(" [FS] Ramping by Jeffry - Loaded -");
print("----------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
new i = 0;
while(i < MAX_PLAYERS)
{
CreatedRamp[i] = false;
DestroyObject(Ramp[i]);
i++;
}
return 1;
}
public OnPlayerDisconnect(playerid)
{
if(CreatedRamp[playerid] == true) DestroyObject(Ramp[playerid]), CreatedRamp[playerid] = false;
CreatedRamp[playerid] = false;
Enabled[playerid]=0;
Pers[playerid]=0;
return 1;
}
public OnPlayerConnect(playerid)
{
Enabled[playerid]=0;
Pers[playerid]=0;
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/ramping", cmdtext, true, 10) == 0)
{
if(Enabled[playerid] == 1)
{SendClientMessage(playerid, 0xFFFF00FF, "Ramping disabled!");
Enabled[playerid]=0;
Pers[playerid]=0;
return 1;
}
if(Enabled[playerid] == 0)
{
SendClientMessage(playerid, 0xFFFF00FF, "Ramping enabled!");
SendClientMessage(playerid, 0xFFFF00FF, "Press the Special Action Key ( Ctrl or Alt Gr ) to create a ramp!");
Enabled[playerid]=1;
Pers[playerid]=1655;
return 1;
}
}
if (strcmp("/my ramp 1", cmdtext, true, 10) == 0)
{
if(Enabled[playerid] == 0) return SendClientMessage(playerid, 0xFF0000FF, "You have to enable ramping first! (/ramping)!");
SendClientMessage(playerid, 0xFFFF00FF, "Ramp changed to Type 1!");
Pers[playerid]=1655;
return 1;
}
if (strcmp("/my ramp 2", cmdtext, true, 10) == 0)
{
if(Enabled[playerid] == 0) return SendClientMessage(playerid, 0xFF0000FF, "You have to enable ramping first! (/ramping)!");
SendClientMessage(playerid, 0xFFFF00FF, "Ramp changed to Type 2!");
Pers[playerid]=1632;
return 1;
}
if (strcmp("/my ramp 3", cmdtext, true, 10) == 0)
{
if(Enabled[playerid] == 0) return SendClientMessage(playerid, 0xFF0000FF, "You have to enable ramping first! (/ramping)!");
SendClientMessage(playerid, 0xFFFF00FF, "Ramp changed to Type 3!");
Pers[playerid]=1631;
return 1;
}
if (strcmp("/my ramp 4", cmdtext, true, 10) == 0)
{
if(Enabled[playerid] == 0) return SendClientMessage(playerid, 0xFF0000FF, "You have to enable ramping first! (/ramping)!");
SendClientMessage(playerid, 0xFFFF00FF, "Ramp changed to Type 4!");
Pers[playerid]=8302;
return 1;
}
if (strcmp("/my ramp 5", cmdtext, true, 10) == 0)
{
if(Enabled[playerid] == 0) return SendClientMessage(playerid, 0xFF0000FF, "You have to enable ramping first! (/ramping)!");
SendClientMessage(playerid, 0xFFFF00FF, "Ramp changed to Type 5!");
Pers[playerid]=1503;
return 1;
}
if (strcmp("/my ramp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF, "Usage: /my ramp [1-5]!");
return 1;
}
if (strcmp("/ramphelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF, "Welcome to the Ramping-Info!");
SendClientMessage(playerid, 0xFFFFFFFF, "• Use /ramping to enable ramping.");
SendClientMessage(playerid, 0xFFFFFFFF, "• Use /my ramp [1-5] to change the type of your ramp.");
SendClientMessage(playerid, 0xFFFFFFFF, "• To create a ramp use Special Action Key ( ''Strg'' or ''Alt Gr'' )");
SendClientMessage(playerid, 0xFFFFFFFF, "• To disable ramping type /ramping again.");
SendClientMessage(playerid, 0xFFFF00FF, "This Filterscript was made by [WsR]RyDeR and Jeffry.");
return 1;
}
return 0;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(Enabled[playerid] == 1)
{
if (IsPlayerInAnyVehicle(playerid))
{
if((newkeys & KEY_ACTION) && !(oldkeys & KEY_ANALOG_UP))
{
switch(GetVehicleModel( GetPlayerVehicleID(playerid) )) {
case 592,577,511,512,593,520,553,476,519,460,513,487,488,548,425,417,497,563,447,469:
return 1;
}
if(CreatedRamp[playerid] == true) DestroyObject(Ramp[playerid]), CreatedRamp[playerid] = false;
new Float:pX,Float:pY,Float:pZ,Float:vA, Arabam = GetPlayerVehicleID(playerid);
GetVehiclePos(Arabam, pX, pY, pZ);
GetVehicleZAngle(Arabam, vA);
Ramp[playerid] = CreateObject(Pers[playerid], pX + (20.0 * floatsin(-vA, degrees)), pY + (20.0 * floatcos(-vA, degrees)), pZ, 0, 0, vA);
CreatedRamp[playerid] = true;
SetTimerEx("destroy", 4000,0,"d",playerid);
}
}
}
return 1;
}
forward destroy(playerid);
public destroy(playerid)
{
if(CreatedRamp[playerid]==true) {
return DestroyObject(Ramp[playerid]), CreatedRamp[playerid] = false;
}else return 0;
}
PHP код:
#include <a_samp>
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_BLUE 0x33AAFFFF
#define COLOR_GREEN 0x33AA33AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_RED 0xFF000055
#define COLOR_YELLOW 0xFFFF0055
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_CYAN 0x00FFFFAA
new Menu:TuningMenu,
Menu:Paintjobs,
Menu:Colors,
Menu:Colors1,
Menu:Exhausts,
Menu:Frontbumper,
Menu:Rearbumper,
Menu:Roof,
Menu:Spoilers,
Menu:Sideskirts,
Menu:Wheels,
Menu:Wheels1,
Menu:Nitro,
Menu:Others,
Tuning[MAX_PLAYERS];
forward RespondOnPlayerText(playerid, text[]);
forward CheckTune(playerid);
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
CreateObject(17063, 1446.51, -1666.19, 12.55, 0.0000, 0.0000, 90.0000);
TuningMenu = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
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, "Wheels");
AddMenuItem(TuningMenu, 0, "Others");
Paintjobs = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
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("TuneMenu", 1, 20, 120, 150, 40);
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("TuneMenu", 1, 20, 120, 150, 40);
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("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Exhausts, 0, "Exhausts");
AddMenuItem(Exhausts, 0, "Wheel Arch Alien Exhaust");
AddMenuItem(Exhausts, 0, "Wheel Arch X-Flow Exhaust");
AddMenuItem(Exhausts, 0, "Loco Low-Co Chromer Exhaust");
AddMenuItem(Exhausts, 0, "Loco Low-Co Slamin Exhaust");
AddMenuItem(Exhausts, 0, "Main Menu");
Frontbumper = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Frontbumper, 0, "Frontbumpers");
AddMenuItem(Frontbumper, 0, "Wheel Arch Alien bumper");
AddMenuItem(Frontbumper, 0, "Wheel Arch X-Flow bumper");
AddMenuItem(Frontbumper, 0, "Loco Low-Co Chromer bumper");
AddMenuItem(Frontbumper, 0, "Loco Low-Co Slamin bumper");
AddMenuItem(Frontbumper, 0, "Main Menu");
Rearbumper = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Rearbumper, 0, "Rearbumpers");
AddMenuItem(Rearbumper, 0, "Wheel Arch Alien bumper");
AddMenuItem(Rearbumper, 0, "Wheel Arch X-Flow bumper");
AddMenuItem(Rearbumper, 0, "Loco Low-Co Chromer bumper");
AddMenuItem(Rearbumper, 0, "Loco Low-Co Slamin bumper");
AddMenuItem(Rearbumper, 0, "Main Menu");
Roof = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Roof, 0, "Roof");
AddMenuItem(Roof, 0, "Wheel Arch Alien Roof Vent");
AddMenuItem(Roof, 0, "Wheel Arch X-Flow Roof Vent");
AddMenuItem(Roof, 0, "Loco Low-Co Hardtop Roof");
AddMenuItem(Roof, 0, "Loco Low-Co Softtop Roof");
AddMenuItem(Roof, 0, "Main Menu");
Spoilers = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Spoilers, 0, "Spoliers");
AddMenuItem(Spoilers, 0, "Alien Spoiler");
AddMenuItem(Spoilers, 0, "X-Flow Spoiler");
AddMenuItem(Spoilers, 0, "Main Menu");
Sideskirts = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Sideskirts, 0, "SideSkirts");
AddMenuItem(Sideskirts, 0, "Wheel Arch Alien Side Skirts");
AddMenuItem(Sideskirts, 0, "Wheel Arch X-Flow Side Skirts");
AddMenuItem(Sideskirts, 0, "Loco Low-Co Chrome Strip");
AddMenuItem(Sideskirts, 0, "Loco Low-Co Chrome Flames");
AddMenuItem(Sideskirts, 0, "Loco Low-Co Chrome Arches");
AddMenuItem(Sideskirts, 0, "Loco Low-Co Chrome Trim");
AddMenuItem(Sideskirts, 0, "Loco Low-Co Wheelcovers");
AddMenuItem(Sideskirts, 0, "Main Menu");
Wheels = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
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("TuneMenu", 1, 20, 120, 150, 40);
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, "Main Menu");
Nitro = CreateMenu("TuningMenu",1,20,120,150,40);
SetMenuColumnHeader(Nitro, 0, "Nitro");
AddMenuItem(Nitro, 0, "2x Nitrous");
AddMenuItem(Nitro, 0, "5x Nitrous");
AddMenuItem(Nitro, 0, "10x Nitrous");
AddMenuItem(Nitro, 0, "Main Menu");
Others = CreateMenu("TuneMenu", 1, 20, 120, 150, 40);
SetMenuColumnHeader(Others, 0, "Other addons");
AddMenuItem(Others, 0, "Hydraulics");
AddMenuItem(Others, 0, "Car Stereo");
AddMenuItem(Others, 0, "Nitro");
AddMenuItem(Others, 0, "Main Menu");
return 1;
}
public OnPlayerText(playerid, text[])
{
if(strcmp(text, "Tune", true) == 0 || strcmp(text, "Tuning", true) == 0)
{
SetTimerEx("RespondOnPlayerText", 1000, false, "is", playerid, text);
}
return 1;
}
public RespondOnPlayerText(playerid, text[])
{
if(strcmp(text, "tune", true) == 0 || strcmp(text, "tuning", true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "Тунинг?Използвай - /tuning-help");
}
}
public CheckTune(playerid)
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInAnyVehicle(i)) continue;
if(IsPlayerAtTuning(playerid) && Tuning[playerid] == 0)
{
Tuning[playerid] = 1;
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Welcome to the \"SteetTuner\"~n~~b~You can /tune now!", 4000, 3);
}
else if(!IsPlayerAtTuning(playerid) && Tuning[playerid] == 1)
{
Tuning[playerid] = 0;
}
}
}
PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
new Float:oldposx, Float:oldposy, Float:oldposz,
Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
return 0;
}
IsPlayerAtTuning(playerid)
{
if(PlayerToPoint(2.0, playerid, 1446.51, -1666.19, 12.55) || PlayerToPoint(2.0, playerid, 1446.51, -1666.19, 12.55))
{
return true;
}
return false;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/tunehelp", true) == 0)
{
return 1;
}
if(strcmp(cmdtext, "/tt", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), 1429,-1665,14);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 359.7775);
}
else
{
SetPlayerPos(playerid, 1429,-1665,14);
SetCameraBehindPlayer(playerid);
}
return 1;
}
if(strcmp(cmdtext, "/tune", true) == 0)
{
new playerstate = GetPlayerState(playerid);
if(!IsPlayerInAnyVehicle(playerid))
return SendClientMessage(playerid, COLOR_RED, "Error! You are not in a vehicle!");
if(playerstate != PLAYER_STATE_DRIVER)
return SendClientMessage(playerid,COLOR_RED,"Error! You must be in a vehicle to tune!");
if(!PlayerToPoint(2.0, playerid, 1446.51, -1666.19, 12.55) && !PlayerToPoint(2.0, playerid, 1446.51, -1666.19, 12.55))
return GameTextForPlayer(playerid, "~r~You must be in \"~b~StreetTuner~r~\"", 3000, 5);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 411 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 579 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 597 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 602 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 496 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 518 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 527 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 589 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 597 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 419 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 533 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 526 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 474 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 545 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 517 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 410 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 600 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 436 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 580 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 439 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 549 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 491 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 445 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 604 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 507 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 585 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 587 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 466 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 492 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 546 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 551 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 516 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 467 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 426 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 547 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 405 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 409 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 550 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 566 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 540 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 421 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 529 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 431 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 438 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 437 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 525 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 552 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 416 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 433 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 427 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 490 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 528 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 407 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 544 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 470 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 598 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 596 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 597 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 599 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 597 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 601 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 428 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 499 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 609 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 524 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 578 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 486 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 406 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 573 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 455 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 588 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 403 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 514 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 423 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 414 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 443 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 515 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 456 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 422 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 482 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 530 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 418 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 572 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 413 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 440 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 543 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 583 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 478 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 554 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 402 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 542 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 603 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 475 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 568 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 504 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 457 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 483 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 508 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 429 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 541 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 415 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 480 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 434 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 506 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 451 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 555 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 477 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 400 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 404 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 489 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 479 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 442 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 458 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
ShowMenuForPlayer(TuningMenu, playerid);
TogglePlayerControllable(playerid,0);
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "ERROR: You are not allowed to modificate this vehicle");
}
return 1;
}
return 0;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:Current = GetPlayerMenu(playerid);
if(Current == TuningMenu)
{
switch(row)
{
case 0: ShowMenuForPlayer(Paintjobs, playerid);
case 1: ShowMenuForPlayer(Colors, playerid);
case 2: ShowMenuForPlayer(Exhausts, playerid);
case 3: ShowMenuForPlayer(Frontbumper, playerid);
case 4: ShowMenuForPlayer(Rearbumper, playerid);
case 5: ShowMenuForPlayer(Roof, playerid);
case 6: ShowMenuForPlayer(Spoilers, playerid);
case 7: ShowMenuForPlayer(Sideskirts, playerid);
case 8: ShowMenuForPlayer(Wheels, playerid);
case 9: ShowMenuForPlayer(Others, playerid);
}
}
if(Current == Paintjobs)
{
switch(row)
{
case 0:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(car,0);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added paintjob to car");
ShowMenuForPlayer(TuningMenu, playerid);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 || // Broadway
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(car,1);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added paintjob to car");
ShowMenuForPlayer(TuningMenu, playerid);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 || // Broadway
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(car,2);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added paintjob to car");
ShowMenuForPlayer(TuningMenu, playerid);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 || // Broadway
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(car,3);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added paintjob to car");
ShowMenuForPlayer(TuningMenu, playerid);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 || // Broadway
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(car,4);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added paintjob to car");
ShowMenuForPlayer(TuningMenu, playerid);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] Paintjob is only for Wheel Arch Angrls and Loco Low Co types of cars");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 5:
{
ShowMenuForPlayer(TuningMenu, playerid);
}
}
}
if(Current == Colors)
{
switch(row)
{
case 0:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,0,0);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,1,1);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,3,3);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,79,79);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,86,86);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 5:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,6,6);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 6:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,126,126);
ShowMenuForPlayer(Colors, playerid);
}
else
{
ShowMenuForPlayer(TuningMenu, playerid);
}
case 7:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,66,66);
ShowMenuForPlayer(Colors, playerid);
}
case 8:ShowMenuForPlayer(Colors1, playerid);
}
}
if(Current == Colors1)
{
switch(row){
case 0:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,24,24);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,123,123);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,53,53);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,93,93);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,83,83);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 5:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,60,60);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 6:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,126,126);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 7:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,110,110);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully repainted to car");
ShowMenuForPlayer(Colors1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 8:ShowMenuForPlayer(TuningMenu, playerid);
}
}
if(Current == Exhausts)
{
switch(row)
{
case 0:
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
{
AddVehicleComponent(car,1034);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Exhaust component on Elegy");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
{
AddVehicleComponent(car,1046);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Exhaust component on Flash");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
{
AddVehicleComponent(car,1065);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Exhaust component on Jetser");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
{
AddVehicleComponent(car,1064);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Exhaust component on Stratum");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
AddVehicleComponent(car,1028);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Exhaust component on Sultan");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
AddVehicleComponent(car,1089);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Exhaust component on Uranus");
ShowMenuForPlayer(Exhausts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
{
AddVehicleComponent(car,1037);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Exhaust component on Elegy");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
{
AddVehicleComponent(car,1045);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Exhaust component on Flash");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
{
AddVehicleComponent(car,1066);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow exaust component on Jester");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
{
AddVehicleComponent(car,1059);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Exhaust component on Stratum");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
AddVehicleComponent(car,1029);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Exhaust component on Sultan");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
{
AddVehicleComponent(car,1092);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Exhaust component on Uranus");
ShowMenuForPlayer(Exhausts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1044);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer Exhaust component on Brodway");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)// Remington
{
AddVehicleComponent(car,1126);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer Exhaust component on Remington");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)// Savanna
{
AddVehicleComponent(car,1129);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer Exhaust component on Savana");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1104);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer Exhaust component on Blade");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1113);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer Exhaust component on Slamvan");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1136);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer Exhaust component on Tornado");
ShowMenuForPlayer(Exhausts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1043);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin Exhaust component on Brodway");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)// Remington
{
AddVehicleComponent(car,1127);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin Exhaust component on Remingon");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)// Savanna
{
AddVehicleComponent(car,1132);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin Exhaust component on Savana");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1105);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin Exhaust component on Blade");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1114);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin Exhaust component on Slamvan");
ShowMenuForPlayer(Exhausts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1135);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin Exhaust component on Tornado");
ShowMenuForPlayer(Exhausts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:ShowMenuForPlayer(TuningMenu, playerid);
}
}
if(Current == Frontbumper)
{
switch(row)
{
case 0:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1171);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien front bumper component on Elegy");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1153);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien front bumper component on Flash");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jester
{
AddVehicleComponent(car,1160);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien front bumper component on Jester");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1155);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien front bumper component on Stratum");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1169);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien front bumper component on Sultan");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1166);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien front bumper component on Uraus");
ShowMenuForPlayer(Frontbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1172);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow front bumper component on Elegy");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1152);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow front bumper component on Flash");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jetser
{
AddVehicleComponent(car,1173);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow front bumper component on Jester");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1157);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow front bumper component on Stratum");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1170);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow front bumper component on Sultan");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1165);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow front bumper component on Uranus");
ShowMenuForPlayer(Frontbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1174);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer front bumper component on Brodway");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)// Remington
{
AddVehicleComponent(car,1179);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer front bumper component on Remington");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)// Savanna
{
AddVehicleComponent(car,1189);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer front bumper component on Savana");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1182);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer front bumper component on Blade");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1115);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer front bumper component on Slamvan");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1191);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer front bumper component on Tornado");
ShowMenuForPlayer(Frontbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1175);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin front bumper component on Brodway");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)// Remington
{
AddVehicleComponent(car,1185);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin front bumper component on Remington");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)// Savanna
{
AddVehicleComponent(car,1188);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin front bumper component on Savana");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1181);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin front bumper component on Blade");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1116);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin front bumper component on Slamvan");
ShowMenuForPlayer(Frontbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1190);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin front bumper component on Tornado");
ShowMenuForPlayer(Frontbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:ShowMenuForPlayer(TuningMenu, playerid);
}
}
if(Current == Rearbumper)
{
switch(row)
{
case 0:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1149);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien rear bumper component on Elegy");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1150);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien rear bumper component on Flash");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jester
{
AddVehicleComponent(car,1159);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien rear bumper component on Jester");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1154);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien rear bumper component on Stratum");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1141);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien rear bumper component on Sultan");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1168);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien rear bumper component on Uranus");
ShowMenuForPlayer(Rearbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1148);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow rear bumper component on Elegy");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1151);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow rear bumper component on Flash");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jetser
{
AddVehicleComponent(car,1161);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow rear bumper component on Jester");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1156);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow rear bumper component on Stratum");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1140);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow rear bumper component on Sultan");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1167);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow rear bumper component on Uranus");
ShowMenuForPlayer(Rearbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1176);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer rear bumper component on Brodway");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)// Remington
{
AddVehicleComponent(car,1180);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer rear bumper component on Remington");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)// Savanna
{
AddVehicleComponent(car,1187);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer rear bumper component on Savana");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1184);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer rear bumper component on Blade");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1109);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer rear bumper component on Slamvan");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1192);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chromer rear bumper component on Tornado");
ShowMenuForPlayer(Rearbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1177);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin rear bumper component on Brodway");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)// Remington
{
AddVehicleComponent(car,1178);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin rear bumper component on Remington");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)// Savanna
{
AddVehicleComponent(car,1186);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin rear bumper component on Savana");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1183);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin rear bumper component on Blade");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1110);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin rear bumper component on Slamvan");
ShowMenuForPlayer(Rearbumper, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1193);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Slamin rear bumper component on Tornado");
ShowMenuForPlayer(Rearbumper, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:ShowMenuForPlayer(TuningMenu, playerid);
}
}
if(Current == Roof)
{
switch(row)
{
case 0:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1035);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien roof vent component on Elegy");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1054);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien roof vent component on Flash");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jester
{
AddVehicleComponent(car,1067);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien roof vent component on Jester");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1055);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien roof vent component on Stratum");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1032);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien roof vent component on Sultan");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1088);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien roof vent component on Uranus");
ShowMenuForPlayer(Roof, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1035);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow roof vent component on Elegy");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1053);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow roof vent component on Flash");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jetser
{
AddVehicleComponent(car,1068);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow roof vent component on Jester");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1061);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow roof vent component on Stratum");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1033);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow roof vent component on Sultan");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1091);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow roof vent component on Uranus");
ShowMenuForPlayer(Roof, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) // Savana
{
AddVehicleComponent(car,1130);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Hardtop Roof component on Brodway");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1128);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Hardtop Roof component on Blade");
ShowMenuForPlayer(Roof, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types Savana and Blade");
ShowMenuForPlayer(Roof, playerid);
}
case 3:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) // Savana
{
AddVehicleComponent(car,1131);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Softtop Roof component on Brodway");
ShowMenuForPlayer(Roof, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1103);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Softtop Roof component on Blade");
ShowMenuForPlayer(Roof, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types Savana and Blade");
ShowMenuForPlayer(Roof, playerid);
}
case 4:
{
ShowMenuForPlayer(TuningMenu, playerid);
}
}
}
if(Current == Spoilers)
{
switch(row)
{
case 0:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1147);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Spoilers component on Elegy");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1049);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Spoilers component on Flash");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jester
{
AddVehicleComponent(car,1162);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Spoilers component on Jester");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1158);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Spoilers component on Stratum");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1138);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Spoilers component on Sultan");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1164);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Spoilers component on Uranus");
ShowMenuForPlayer(Spoilers, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1146);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Spoilers component on Elegy");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1150);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Spoilers component on Flash");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jetser
{
AddVehicleComponent(car,1158);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Spoilers component on Jester");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1060);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Spoilers component on Stratum");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1139);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Spoilers component on Sultan");
ShowMenuForPlayer(Spoilers, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1163);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Spoilers component on Uranus");
ShowMenuForPlayer(Spoilers, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to X-Flow Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
{
ShowMenuForPlayer(TuningMenu, playerid);
}
}
}
if(Current == Sideskirts)
{
switch(row)
{
case 0:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1036);
AddVehicleComponent(car,1040);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Side Skirts component on Elegy");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1047);
AddVehicleComponent(car,1051);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Sideskirts vent component on Flash");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jester
{
AddVehicleComponent(car,1069);
AddVehicleComponent(car,1071);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Side Skirts component on Jester");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1056);
AddVehicleComponent(car,1062);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Side Skirts component on Stratum");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1026);
AddVehicleComponent(car,1027);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Side Skirts bumper component on Sultan");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1090);
AddVehicleComponent(car,1094);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch Alien Side Skirts component on Uranus");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 565 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 559 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 561 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) // Elegy
{
AddVehicleComponent(car,1039);
AddVehicleComponent(car,1041);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Side Skirts component on Elegy");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) // Flash
{
AddVehicleComponent(car,1048);
AddVehicleComponent(car,1052);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Side Skirts component on Flash");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) // Jetser
{
AddVehicleComponent(car,1070);
AddVehicleComponent(car,1072);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Side Skirts component on Jester");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) // Stratum
{
AddVehicleComponent(car,1057);
AddVehicleComponent(car,1063);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Side Skirts component on Stratum");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) // Sultan
{
AddVehicleComponent(car,1031);
AddVehicleComponent(car,1030);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Side Skirts component on Sultan");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) // Uranus
{
AddVehicleComponent(car,1093);
AddVehicleComponent(car,1095);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wheel Arch X-Flow Side Skirts component on Uranus");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Wheel Arch Angels Car types");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 536 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 576 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) // Brodway
{
AddVehicleComponent(car,1042);
AddVehicleComponent(car,1099);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Strip Side Skirts component on Brodway");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) // Savana
{
AddVehicleComponent(car,1102);
AddVehicleComponent(car,1133);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Strip Side Skirts component on Savana");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) // Tornado
{
AddVehicleComponent(car,1134);
AddVehicleComponent(car,1137);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Strip Side Skirts component on Tornado");
ShowMenuForPlayer(Sideskirts, playerid);
}
else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) // Blade
{
AddVehicleComponent(car,1108);
AddVehicleComponent(car,1107);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Strip Side Skirts component on Blade");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car types Brodway, Savana Tornado and Blade");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) // Remington
{
AddVehicleComponent(car,1122);
AddVehicleComponent(car,1101);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Flames Side Skirts component on Remington");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car type Remington ");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 4:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) // Remington
{
AddVehicleComponent(car,1106);
AddVehicleComponent(car,1124);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Arches Side Skirts component on Remington");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car type Remington ");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 5:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1118);
AddVehicleComponent(car,1120);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Trim Side Skirts component on Slamvan");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car type Slamvan ");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 6:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535)
{
new car = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) // Slamvan
{
AddVehicleComponent(car,1119);
AddVehicleComponent(car,1121);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Loco Low-Co Chrome Wheelcovers component on Slamvan");
ShowMenuForPlayer(Sideskirts, playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[WARNING] You can only add this component to Loco Low-Co Car type Slamvan ");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 7:ShowMenuForPlayer(TuningMenu, playerid);
}
}
if(Current == Wheels) {
switch(row){
case 0:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1025);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Offroad Wheels ");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1074);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Mega Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1076);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Wires Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 3:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1078);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Twist Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(Wheels, playerid);
}
case 4:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1081);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Grove Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 5:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1082);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Import Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 6:
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1085);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Atomic Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
case 7:
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1096);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Ahab Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
case 8:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1097);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Virtual Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 9:
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1098);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Access Wheels");
ShowMenuForPlayer(Wheels, playerid);
}
case 10:
{
ShowMenuForPlayer(Wheels1, playerid);
}
case 11:
{
ShowMenuForPlayer(TuningMenu, playerid);
}
}
}
if(Current == Wheels1)
{
switch(row)
{
case 0:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1084);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Trance Wheels ");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 1:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1073);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Shadow Wheels");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 2:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1075);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Rimshine Wheels");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 3:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1077);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Classic Wheels");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(Wheels, playerid);
}
}
case 4:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1079);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Cutter Wheels");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 5:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1080);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Switch Wheels");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 6:
{
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1083);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Dollar Wheels");
ShowMenuForPlayer(Wheels1, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
}
case 7:
{
{
ShowMenuForPlayer(TuningMenu, playerid);
}
}
}
}
if(Current == Nitro)
{
switch(row)
{
case 0:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1008);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added 2x Nitro to car ");
ShowMenuForPlayer(Others, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
if(GetPlayerMoney(playerid) >= 0)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1009);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added 5x Nitro to car");
ShowMenuForPlayer(Others, playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Not enough money!");
ShowMenuForPlayer(Others, playerid);
}
case 2:
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1010);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added 10x Nitro to car");
ShowMenuForPlayer(Others, playerid);
}
case 3:
{
ShowMenuForPlayer(Others, playerid);
}
}
}
if(Current == Others)
{
switch(row)
{
case 0:
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1087);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Hydraulics to car ");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 1:
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1086);
SendClientMessage(playerid,COLOR_DBLUE,"[SUCESS] You have succesfully added Stereo Bass bost system ");
ShowMenuForPlayer(TuningMenu, playerid);
}
case 2:
{
ShowMenuForPlayer(Nitro, playerid);
}
case 3:
{
ShowMenuForPlayer(TuningMenu, playerid);
}
}
}
return 0;
}
public OnPlayerExitedMenu(playerid)
{
TogglePlayerControllable(playerid, true);
SetCameraBehindPlayer(playerid);
HideMenuForPlayer(TuningMenu, playerid);
if(IsPlayerAtTuning(playerid))
{
SendClientMessage(playerid, COLOR_RED, "Use /tune to tune again!");
}
return 1;
}