SA-MP Forums Archive
Simple question. about vehicles. - 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: Simple question. about vehicles. (/showthread.php?tid=384012)



Simple question. about vehicles. - Roel - 09.10.2012

Is the respawn delay that you insert when creating a vehicle working correct?
When a vehicle is spawned and not moved yet, does it also respawn on that delay?
Goes the vehicle go trough OnVehicleSpawn when it get respawned by the delay(I guess it does).


Re: Simple question. about vehicles. - park4bmx - 09.10.2012

The respawn delay is only triggered when any player has entered the car and done changes to it, if the car is not entered since it was created then It would stay there and not respawn(even when the vehicle is moved by force!)

Also yes it gets called on OnVehicleSpawn