Hey Überschrift sagt alles :=)
Also ich suche ein Anim System & Auto Control System.
Was ich auch noch suche wäre ein Tuning Script, welches mal via Dialog ein Auto tunen kann.
Danke schonmal
Animlist System & Auto System mit /motor /licht /kofferraum /motorhaube etc
- Hamst0r
- Geschlossen
- Erledigt
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
tuning hab ich mal gemacht, moment.
#define DIALOG_TUNING 8549
#define DIALOG_SPOILER 2344
#define DIALOG_REIFEN 2727
#define DIALOG_NITRO 2351
#define DIALOG_HYDRAULICS 7612
#define DIALOG_SONSTIGETUNING 7611
#define DIALOG_TUNINGWEG 5257
#define DIALOG_LACKIERUNG 7782dann der Befehl:
ocmd:tuning(playerid,params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, DIALOG_TUNING, DIALOG_STYLE_LIST, "Tuning", "Spoiler\nReifen\nNitro\nHydraulics\nSonstige\nLackierung\nTuning entfernen", "Annehmen", "Abbrechen");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Du bist in keinem Auto!");
}
return 1;
}dialog response:
if(dialogid==DIALOG_TUNING)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,DIALOG_SPOILER, DIALOG_STYLE_LIST, "Spoiler", "Pro Spoiler\nWin Spoiler\nDrag Spoiler\nAlpha Spoiler\nRace Spoiler", "Ok", "");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid, DIALOG_REIFEN, DIALOG_STYLE_LIST, "Reifen", "Shadow Reifen\nMega Reifen\nTwist Reifen\nCutter Reifen\nGrove Reifen\nDollar Reifen", "Ok", "");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, DIALOG_NITRO, DIALOG_STYLE_LIST, "Nitro", "2x Nitro\n5x Nitro\n10x Nitro", "Ok", "");
}
if(listitem ==3)
{
ShowPlayerDialog(playerid, DIALOG_HYDRAULICS, DIALOG_STYLE_LIST, "Hydraulics", "Hydraulics", "Ok", "");
}
if(listitem == 4)
{
ShowPlayerDialog(playerid, DIALOG_SONSTIGETUNING, DIALOG_STYLE_LIST, "Sonstige", "Champ Scoop Hood\nFoory Scoop Hood\nRace Scoop Hood\nRoof Scoop Roof\nRechtes Sideskirt\nRound Fog Lamp", "Ok", "");
}
if(listitem == 5)
{
ShowPlayerDialog(playerid, DIALOG_LACKIERUNG, DIALOG_STYLE_LIST, "Lackierung", "Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink", "Ok", "");
}
if(listitem == 6)
{
ShowPlayerDialog(playerid, DIALOG_TUNINGWEG, DIALOG_STYLE_LIST, "Tuning entfernen", "Tuning weg", "Ok", "");
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Du hast das Tuning abgebrochen.");
}
}
if(dialogid==DIALOG_SPOILER)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1000);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==1)
{
AddVehicleComponent(Car,1001);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1002);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==3)
{
AddVehicleComponent(Car,1003);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==4)
{
AddVehicleComponent(Car,1015);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}
if(dialogid==DIALOG_REIFEN)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1073);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1074);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1078);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==3)
{
AddVehicleComponent(Car,1079);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==4)
{
AddVehicleComponent(Car,1081);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==5)
{
AddVehicleComponent(Car,1083);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}
if(dialogid==DIALOG_NITRO)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1009);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1008);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1010);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}
if(dialogid==DIALOG_HYDRAULICS)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1087);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}
if(dialogid==DIALOG_SONSTIGETUNING)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1004);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1005);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1011);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==3)
{
AddVehicleComponent(Car,1006);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==4)
{
AddVehicleComponent(Car,1007);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==5)
{
AddVehicleComponent(Car,1013);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}
if(dialogid==DIALOG_LACKIERUNG)
{
if(response)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,1,1);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
if(listitem==1)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,2,2);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
if(listitem==2)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,0,0);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
if(listitem==3)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,3,3);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
if(listitem==4)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,6,6);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
if(listitem==5)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,16,16);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
if(listitem==6)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,126,126);
SendClientMessage(playerid, COLOR_BLUE, "Farbe geändert!");
}
}
}
}
if(dialogid==DIALOG_TUNINGWEG)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
RemoveVehicleComponent(Car,1013);
RemoveVehicleComponent(Car,1007);
RemoveVehicleComponent(Car,1006);
RemoveVehicleComponent(Car,1011);
RemoveVehicleComponent(Car,1005);
RemoveVehicleComponent(Car,1004);
RemoveVehicleComponent(Car,1087);
RemoveVehicleComponent(Car,1010);
RemoveVehicleComponent(Car,1008);
RemoveVehicleComponent(Car,1009);
RemoveVehicleComponent(Car,1083);
RemoveVehicleComponent(Car,1081);
RemoveVehicleComponent(Car,1079);
RemoveVehicleComponent(Car,1078);
RemoveVehicleComponent(Car,1074);
RemoveVehicleComponent(Car,1073);
RemoveVehicleComponent(Car,1015);
RemoveVehicleComponent(Car,1000);
RemoveVehicleComponent(Car,1001);
RemoveVehicleComponent(Car,1002);
RemoveVehicleComponent(Car,1003);
SendClientMessage(playerid, COLOR_RED,"Tunings entfernt!");
}
}
}ACHTUNG: Dialog Spoiler & SonstigeTuning sind nicht mit jedem Fahrzeug kompaktibel.
-
Okay Danke werde es mal ausprobieren.
-
Kein Problem,
Car-System gibt es hier eines im Forum von [DT]Sniper wenn ich micht nicht täusche.
Anim-System ist in jedem GF enthalten.Wenn du doch etwas von mir haben möchtest, kann cih mich mal ran setzen, wenn du mir ne PN schreibst.
-
So, habe ein Auto System wo man den Motor an /aus machen kann via Dialog.
Aber ich kann nun nur in deinen System oder im Auto System was auswählen, aber es tut sich nichts hier mein Dialog Respone:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0)
{
if(response)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE,"»Viel Spaß beim spielen!");
}
else
{
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
SendClientMessage(playerid,COLOR_LIGHTRED,"»Schade, einen schönen Tag noch!");
Kick(playerid);
}
return 1;
}
return 0;new engine,lights,alarm,doors,bonnet,boot,objective;
new veh = GetPlayerVehicleID(playerid);
if(dialogid == 3621)
{
if(!response) return SendClientMessage(playerid, GRAU, "System geeschlossen");
switch(listitem)
{
case 0:
{
if(GetPVarInt(playerid, "Lights") == 0)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective);
SetPVarInt(playerid, "Lights", 1);
}
else if(GetPVarInt(playerid, "Lights") == 1)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective);
SetPVarInt(playerid, "Lights", 0);
}
}
case 1:
{
if(GetPVarInt(playerid, "Bonnet") == 0)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,lights,alarm,doors,VEHICLE_PARAMS_ON,boot,objective);
SetPVarInt(playerid, "Bonnet", 1);
}
else if(GetPVarInt(playerid, "Bonnet") == 1)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,lights,alarm,doors,VEHICLE_PARAMS_OFF,boot,objective);
SetPVarInt(playerid, "Bonnet", 0);
}
}
case 2:
{
if(GetPVarInt(playerid, "Boot") == 0)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,VEHICLE_PARAMS_ON,objective);
SetPVarInt(playerid, "Boot", 1);
}
else if(GetPVarInt(playerid, "Boot") == 1)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,VEHICLE_PARAMS_OFF,objective);
SetPVarInt(playerid, "Boot", 0);
}
}
case 3:
{
if(GetPVarInt(playerid, "Alarm") == 0)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,lights,VEHICLE_PARAMS_ON,doors,bonnet,boot,objective);
SetPVarInt(playerid, "Alarm", 1);
}
else if(GetPVarInt(playerid, "Alarm") == 1)
{
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(veh,engine,lights,VEHICLE_PARAMS_OFF,doors,bonnet,boot,objective);
SetPVarInt(playerid, "Alarm", 0);
}
}
}
return 1;
}
return 1;
if(dialogid==DIALOG_TUNING)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,DIALOG_SPOILER, DIALOG_STYLE_LIST, "Spoiler", "Pro Spoiler\nWin Spoiler\nDrag Spoiler\nAlpha Spoiler\nRace Spoiler", "Ok", "");
}if(listitem == 1)
{
ShowPlayerDialog(playerid, DIALOG_REIFEN, DIALOG_STYLE_LIST, "Reifen", "Shadow Reifen\nMega Reifen\nTwist Reifen\nCutter Reifen\nGrove Reifen\nDollar Reifen", "Ok", "");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, DIALOG_NITRO, DIALOG_STYLE_LIST, "Nitro", "2x Nitro\n5x Nitro\n10x Nitro", "Ok", "");
}
if(listitem ==3)
{
ShowPlayerDialog(playerid, DIALOG_HYDRAULICS, DIALOG_STYLE_LIST, "Hydraulics", "Hydraulics", "Ok", "");
}
if(listitem == 4)
{
ShowPlayerDialog(playerid, DIALOG_SONSTIGETUNING, DIALOG_STYLE_LIST, "Sonstige", "Champ Scoop Hood\nFoory Scoop Hood\nRace Scoop Hood\nRoof Scoop Roof\nRechtes Sideskirt\nRound Fog Lamp", "Ok", "");
}if(listitem == 5)
{
ShowPlayerDialog(playerid, DIALOG_LACKIERUNG, DIALOG_STYLE_LIST, "Lackierung", "Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink", "Ok", "");
}
if(listitem == 6)
{
ShowPlayerDialog(playerid, DIALOG_TUNINGWEG, DIALOG_STYLE_LIST, "Tuning entfernen", "Tuning weg", "Ok", "");
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Du hast das Tuning abgebrochen.");
}
}if(dialogid==DIALOG_SPOILER)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1000);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1001);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1002);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==3)
{
AddVehicleComponent(Car,1003);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==4)
{
AddVehicleComponent(Car,1015);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}if(dialogid==DIALOG_REIFEN)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1073);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1074);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1078);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==3)
{
AddVehicleComponent(Car,1079);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==4)
{
AddVehicleComponent(Car,1081);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==5)
{
AddVehicleComponent(Car,1083);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}if(dialogid==DIALOG_NITRO)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1009);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1008);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1010);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}if(dialogid==DIALOG_HYDRAULICS)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1087);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}if(dialogid==DIALOG_SONSTIGETUNING)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
AddVehicleComponent(Car,1004);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}if(listitem==1)
{
AddVehicleComponent(Car,1005);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==2)
{
AddVehicleComponent(Car,1011);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==3)
{
AddVehicleComponent(Car,1006);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==4)
{
AddVehicleComponent(Car,1007);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
if(listitem==5)
{
AddVehicleComponent(Car,1013);
SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
}
}
}if(dialogid==DIALOG_LACKIERUNG)
{
if(response)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,1,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
if(listitem==1)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,2,2);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
if(listitem==2)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,0,0);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
if(listitem==3)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,3,3);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
if(listitem==4)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,6,6);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
if(listitem==5)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,16,16);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
if(listitem==6)
{
//Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
ChangeVehicleColor(Car,126,126);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
}
}
}
}
if(dialogid==DIALOG_TUNINGWEG)
{
if(response)
{
new Car;
Car = GetPlayerVehicleID(playerid);
if(listitem==0)
{
RemoveVehicleComponent(Car,1013);
RemoveVehicleComponent(Car,1007);
RemoveVehicleComponent(Car,1006);
RemoveVehicleComponent(Car,1011);
RemoveVehicleComponent(Car,1005);
RemoveVehicleComponent(Car,1004);
RemoveVehicleComponent(Car,1087);
RemoveVehicleComponent(Car,1010);
RemoveVehicleComponent(Car,1008);
RemoveVehicleComponent(Car,1009);
RemoveVehicleComponent(Car,1083);
RemoveVehicleComponent(Car,1081);
RemoveVehicleComponent(Car,1079);
RemoveVehicleComponent(Car,1078);
RemoveVehicleComponent(Car,1074);
RemoveVehicleComponent(Car,1073);
RemoveVehicleComponent(Car,1015);
RemoveVehicleComponent(Car,1000);
RemoveVehicleComponent(Car,1001);
RemoveVehicleComponent(Car,1002);
RemoveVehicleComponent(Car,1003);
SendClientMessage(playerid, COLOR_RED,"Tunings entfernt!");
}
}
}
} -
breadfish.de
Hat das Thema geschlossen.