[Include] Unoccupied Vehicle Never Respawns On-Death Fix
#1

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
Reply
#2

But why not using SetVehicleToRespawn under OnVehicleDeath ?
Reply
#3

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.
Reply
#4

good work mate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)