Las Venturas Playground
Tuned vehicles - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Miscellaneous (https://forum.sa-mp.nl/forum-4.html)
+--- Forum: Gaming (https://forum.sa-mp.nl/forum-27.html)
+--- Thread: Tuned vehicles (/thread-18732.html)



Tuned vehicles - [NiP]Midget - 06-25-2009

Ello,

I would like to know how you guys made it able to make tuned vehicles respawning. I understand that you have it specially scripted/coded. I would like to have it.  :D


Re: Tuned vehicles - [NiP]Midget - 07-01-2009

*bump*  :*)


Re: Tuned vehicles - Matthias - 07-01-2009

SetVehicleToRespawn...?


Re: Tuned vehicles - Jay - 07-08-2009

That would just respawn the vehicle.

I just used AddVehicleComponent in OnVehicleSpawn, but note that OnVehicleSpawn is called before the vehicle respawns, so you may have to wait a few seconds before adding the components by using a timer or something.