13.05.2016, 17:26
Quote:
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. |
Same though but he still needing help, I don't know why.
@D3vin : Have you tested Konstantinos's function ?