AddStaticVehicle ? - 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)
+--- Thread: AddStaticVehicle ? (
/showthread.php?tid=533879)
AddStaticVehicle ? -
kamiliuxliuxliux - 26.08.2014
When I use AddStaticVehicle under OnGMInit and there's no note, that vehicle should respawn, but when I exit vehicle, after ~3 mins it respawns. Maybe someone explain?
Re: AddStaticVehicle ? -
kamiliuxliuxliux - 27.08.2014
And how to prevent this? Can CreateVehicle be solution?
Re: AddStaticVehicle ? -
redist - 27.08.2014
Yes and use -1 as the last value.
Re: AddStaticVehicle ? -
kamiliuxliuxliux - 27.08.2014
Ok, but when I use SetVehicleToRespawn on VehicleCreate vehicle, all components will or won't be saved on it respawns?
Re: AddStaticVehicle ? -
Steel_ - 27.08.2014
The components should stay on but the colour/paintjob of the car won't save.
Re: AddStaticVehicle ? -
Stanford - 27.08.2014
It's normal, it doesn't save.. you have to re-mod it. It's easy to script that!