Steht da doch bei mir Ok ich versuchs mal.
So richtig?
Function WheelTuning(vehicleid)
{
switch(Wheelvehs)
{
case 0: //huntley
{
AddVehicleComponent(vehicleid, 1025);
AddVehicleComponent(vehicleid, 1010);
}
case 1: //Huntley
{
AddVehicleComponent(vehicleid, 1025);
AddVehicleComponent(vehicleid, 1010);
}
case 2: //Buffalo
{
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1010);
}
case 3: // Buffalo 402 x
{
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1010);
}
case 4: // Uranus 558 x
{
AddVehicleComponent(vehicleid, 1163);
AddVehicleComponent(vehicleid, 1091);
AddVehicleComponent(vehicleid, 1093);
AddVehicleComponent(vehicleid, 1089);
AddVehicleComponent(vehicleid, 1085);
AddVehicleComponent(vehicleid, 1165);
AddVehicleComponent(vehicleid, 1167);
AddVehicleComponent(vehicleid, 1010);
ChangeVehiclePaintjob(vehicleid, 0);
}
case 5: // Uranus 558 x
{
AddVehicleComponent(vehicleid, 1164);
AddVehicleComponent(vehicleid, 1088);
AddVehicleComponent(vehicleid, 1090);
AddVehicleComponent(vehicleid, 1092);
AddVehicleComponent(vehicleid, 1085);
AddVehicleComponent(vehicleid, 1166);
AddVehicleComponent(vehicleid, 1168);
AddVehicleComponent(vehicleid, 1010);
ChangeVehiclePaintjob(vehicleid, 0);
}
case 6: // Elegy 562 x
{
AddVehicleComponent(vehicleid, 1146);
AddVehicleComponent(vehicleid, 1035);
AddVehicleComponent(vehicleid, 1039);
AddVehicleComponent(vehicleid, 1037);
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1172);
AddVehicleComponent(vehicleid, 1148);
AddVehicleComponent(vehicleid, 1010);
ChangeVehiclePaintjob(vehicleid, 1);
}
case 7: //elegy
{
AddVehicleComponent(vehicleid, 1147);
AddVehicleComponent(vehicleid, 1038);
AddVehicleComponent(vehicleid, 1036);
AddVehicleComponent(vehicleid, 1034);
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1171);
AddVehicleComponent(vehicleid, 1149);
AddVehicleComponent(vehicleid, 1010);
ChangeVehiclePaintjob(vehicleid, 1);
}
case 8: // Jester 559 x
{
AddVehicleComponent(vehicleid, 1162);
AddVehicleComponent(vehicleid, 1069);
AddVehicleComponent(vehicleid, 1065);
AddVehicleComponent(vehicleid, 1073);
AddVehicleComponent(vehicleid, 1160);
AddVehicleComponent(vehicleid, 1159);
AddVehicleComponent(vehicleid, 1010);
ChangeVehiclePaintjob(vehicleid, 1);
}
case 9: // Jester 559 x
{
AddVehicleComponent(vehicleid, 1162);
AddVehicleComponent(vehicleid, 1069);
AddVehicleComponent(vehicleid, 1065);
AddVehicleComponent(vehicleid, 1073);
AddVehicleComponent(vehicleid, 1160);
AddVehicleComponent(vehicleid, 1159);
AddVehicleComponent(vehicleid, 1010);
ChangeVehiclePaintjob(vehicleid, 1);
}
case 10: // Sultan 560 x
{
AddVehicleComponent(vehicleid, 1139);
AddVehicleComponent(vehicleid, 1033);
AddVehicleComponent(vehicleid, 1031);
AddVehicleComponent(vehicleid, 1029);
AddVehicleComponent(vehicleid, 1073);
AddVehicleComponent(vehicleid, 1170);
AddVehicleComponent(vehicleid, 1140);
AddVehicleComponent(vehicleid, 1010);
}
case 11: // Sultan 560 x
{
AddVehicleComponent(vehicleid, 1139);
AddVehicleComponent(vehicleid, 1033);
AddVehicleComponent(vehicleid, 1031);
AddVehicleComponent(vehicleid, 1029);
AddVehicleComponent(vehicleid, 1073);
AddVehicleComponent(vehicleid, 1170);
AddVehicleComponent(vehicleid, 1140);
AddVehicleComponent(vehicleid, 1010);
}
case 12: // Stafford 580 x
{
AddVehicleComponent(vehicleid, 1006);
AddVehicleComponent(vehicleid, 1007);
AddVehicleComponent(vehicleid, 1018);
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1010);
}
case 13: // Infernus 411 x
{
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1010);
}
case 14: // Cheetah 415 x
{
AddVehicleComponent(vehicleid, 1023);
AddVehicleComponent(vehicleid, 1007);
AddVehicleComponent(vehicleid, 1018);
AddVehicleComponent(vehicleid, 1082);
AddVehicleComponent(vehicleid, 1010);
}
}