SA-MP Forums Archive
Vehicle components problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle components problem (/showthread.php?tid=64380)



Vehicle components problem - hippe - 03.02.2009

Hi I need help I have created a tuning car but when you spawn and are not tuning you do not know what's wrong here is the FS:

forward T1Tuning();
forward T2Tuning();
#define MAX_TUNING 250
new Tuning[MAX_TUNING];

//========================TUNING
Tuning[1] = AddStaticVehicle(560,-2049.6216,1863.0186,6.7163,86.4688,6,6); // Jester
T1Tuning();
Tuning[2] = AddStaticVehicle(562,-2049.1135,1859.5537,7.0168,91.4143,6,6); // Sultan
T2Tuning();

public T1Tuning()
{ print("public T1TUNING");
AddVehicleComponent(Tuning[1],1029);AddVehicleComponent(Tuning[1],1033);
AddVehicleComponent(Tuning[1],113;AddVehicleComponent(Tuning[1],1141);
AddVehicleComponent(Tuning[1],1031);AddVehicleComponent(Tuning[1],1169);
AddVehicleComponent(Tuning[1],1010);AddVehicleComponent(Tuning[1],1074);
print("public T1TUNING en");
}
public T2Tuning()
{ print("public T2TUNING");
AddVehicleComponent(Tuning[2],1034);AddVehicleComponent(Tuning[2],1010);
AddVehicleComponent(Tuning[2],103;AddVehicleComponent(Tuning[2],1147);
AddVehicleComponent(Tuning[2],1073);
print("public T2TUNING en");
}

Thanks