SetVehicleHealth help !!
#10

Quote:
Originally Posted by Sjn
Посмотреть сообщение
There is absolutely no need to loop through all the vehicles and respawn them just to call the OnVehicleSpawn callback. What if he is loading server vehicles from a database or files?

What Konstantinos posted above works absolutely fine and makes it easier to do what he's looking for. I also have a custom function to create vehicles and I do the same to set the vehicle health.
Yeah, you are right. My bad. How can I call OnVehicleSpawn if they don't respawn?
Same though but he still needing help, I don't know why.

@D3vin : Have you tested Konstantinos's function ?
Reply


Messages In This Thread
SetVehicleHealth help !! - by D3vin - 13.05.2016, 13:24
Re: SetVehicleHealth help !! - by Nin9r - 13.05.2016, 13:30
Re: SetVehicleHealth help !! - by Konstantinos - 13.05.2016, 13:31
Re: SetVehicleHealth help !! - by F1N4L - 13.05.2016, 13:32
Re: SetVehicleHealth help !! - by D3vin - 13.05.2016, 13:43
Re: SetVehicleHealth help !! - by D3vin - 13.05.2016, 15:33
Re: SetVehicleHealth help !! - by D3vin - 13.05.2016, 15:49
Re: SetVehicleHealth help !! - by Dayrion - 13.05.2016, 16:56
Re: SetVehicleHealth help !! - by Sjn - 13.05.2016, 17:01
Re: SetVehicleHealth help !! - by Dayrion - 13.05.2016, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)