public OnVehicleSpawn(vehicleid)
alá
if (vehicleid == tunedcar1)
{
AddVehicleComponent(tunedcar38,1038);//
AddVehicleComponent(tunedcar38,1146);//
AddVehicleComponent(tunedcar38,1010);//
AddVehicleComponent(tunedcar38,1149);//
AddVehicleComponent(tunedcar38,1172);//
AddVehicleComponent(tunedcar38,1074);//
}
Vagyis minden jármû ami tuningolva van ide is be kell rakni a komponenseket
pl:
if (vehicleid == tunedcar2)
{
AddVehicleComponent(tunedcar2,1169);//
AddVehicleComponent(tunedcar2,1032);//
AddVehicleComponent(tunedcar2,1010);//
AddVehicleComponent(tunedcar2,1074);//
AddVehicleComponent(tunedcar2,1139);//
AddVehicleComponent(tunedcar2,1141);//
ChangeVehiclePaintjob(tunedcar2,2);
}
if (vehicleid == tunedcar3)
{
AddVehicleComponent(tunedcar3,1150);//
AddVehicleComponent(tunedcar3,1053);//
AddVehicleComponent(tunedcar3,1010);//
AddVehicleComponent(tunedcar3,1074);//
AddVehicleComponent(tunedcar3,1054);//
AddVehicleComponent(tunedcar3,1049);//
ChangeVehiclePaintjob(tunedcar3,2);
}
return 1;
}
stb...