GetVehicleHealth isn't returning the correct value
#10

Quote:
Originally Posted by iFriSki
View Post
I'm not able to produce your problem.
Thanks for posting some feedback. I realised GetVehicleHealth wasn't returning a wrong value after the health was set. I was planning to check if the health of the vehicle changed after the server set it to x, but using GetVehicleHealth would not work since it does work too fast. I also tried using a 100 milliseconds timer, but GetVehicleHealth, once again, wouldn't return the correct value. It sometimes returns 1000.0 instead of the real vehicle health.

@DVDK: If you're reporting a bug and someone else comes saying that there's no bug because <insert invalid reason here>, and you know they're wrong, what would you do? People should not post about stuff they don't know about. It had nothing to do with commas and it had nothing to do with the health being set over 1000.0...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)