SetVehicleToRespawn deletes vehicle?! - 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: SetVehicleToRespawn deletes vehicle?! (
/showthread.php?tid=534050)
SetVehicleToRespawn deletes vehicle?! -
BlackM - 27.08.2014
Hey guys, I got an issue with SetVehicleToRespawn. The code is actually executed successfully on the specified vehicle, but instead of it returning to its original position, it disappears, as if I used DestroyVehicle instead :/
I tried both AddStaticVehicleEx and CreateVehicle as I suspected that the way they are created may affect SetVehicleToRespawn but in vain.
Many thanks in advance.