Posts: 4
Threads: 1
Joined: Jan 2010
Reputation:
0
Ahoi.
I placed a few tuned cars into the gta world.
If i start the server, the tuned cars are spawning at the correct places.
But if drive around and destroy the tuned car, it respawns as a normal car.
How can i fix it?
Greetings from Germany.
Posts: 110
Threads: 18
Joined: Dec 2009
Reputation:
0
ok under public OnVehicleSpawn
add your things that are like
ChangeVehiclePaintjob(Tuned_Stratum, 0); // PaintJob
AddVehicleComponent(Tuned_Stratum, 1064); // Exhaust
AddVehicleComponent(Tuned_Stratum, 1155); // Front Bumper
AddVehicleComponent(Tuned_Stratum, 1154); // Rear Bumper
AddVehicleComponent(Tuned_Stratum, 1055); // Roof
AddVehicleComponent(Tuned_Stratum, 1060); // Spoiler
AddVehicleComponent(Tuned_Stratum, 1056); // Sideskirt 1
AddVehicleComponent(Tuned_Stratum, 1062); // Sideskirt 2
AddVehicleComponent(Tuned_Stratum, 1079); // Wheels
AddVehicleComponent(Tuned_Stratum, 1086); // Car Stereo
AddVehicleComponent(Tuned_Stratum, 1087); // Hidraulics
AddVehicleComponent(Tuned_Stratum, 1010); // Nitro
Posts: 4
Threads: 1
Joined: Jan 2010
Reputation:
0
So i should write under public OnFilterscriptInit only the spawns?
And under a new 'part' of the filterscript named public OnVehicleSpawn i should list the parts of the Vehicle?
Thanks for your answer.
//edit:
I tried it as i thought it should be, but i get some errors...
Can you explain how to do it more exactly?
Posts: 734
Threads: 8
Joined: Jun 2009
Posts: 110
Threads: 18
Joined: Dec 2009
Reputation:
0
virt thats not how you do it... mine works perfect so its all good lol