[Include] Unoccupied Vehicle Never Respawns On-Death Fix - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Unoccupied Vehicle Never Respawns On-Death Fix (
/showthread.php?tid=616132)
Unoccupied Vehicle Never Respawns On-Death Fix -
SickAttack - 31.08.2016
Unoccupied Vehicle Never Respawns On-Death Fix
Description
This include fixes a client bug, where if a vehicle has never been occupied by a player before and it explodes in cause of the function SetVehicleHealth, it won't respawn. For additional information about this bug visit:
https://sampforum.blast.hk/showthread.php?tid=488611
Download
https://github.com/Kevin-Reinke/Unoc...s_On-Death_Fix
Re: Unoccupied Vehicle Never Respawns On-Death Fix -
Juvanii - 03.09.2016
But why not using SetVehicleToRespawn under OnVehicleDeath ?
Re: Unoccupied Vehicle Never Respawns On-Death Fix -
SickAttack - 03.09.2016
Quote:
Originally Posted by Juvanii
But why not using SetVehicleToRespawn under OnVehicleDeath ?
|
OnVehicleDeath isn't called when a vehicle that was never occupied before explodes.
Re: Unoccupied Vehicle Never Respawns On-Death Fix -
SyS - 16.09.2016
good work mate.