Problem while setting health
#1

Hi All,

I'm experiencing this weird problem, when I loaded and created a car from my MYSQL database, it works, until I set the health. The car just starts burning, even though the print's I added in the script show that the health variable is 100.0.
Is there any condition for setting health (I have the same problem when setting the player's health from a variable, which also prints 100.0, but sets the player's health to 0).

Thanks in advance
Reply
#2

Max vehicle health is 1000.0, under ~300.0 it'll burn then explode

#e: about player health - what field type are you using, and how does your retrieving code looks like?
Reply
#3

Quote:
Originally Posted by Misiur
View Post
Max vehicle health is 1000.0, under ~300.0 it'll burn then explode

#e: about player health - what field type are you using, and how does your retrieving code looks like?
-.-' Thanks, I should have known :P
About the player health, I debugged it again, and I noticed I didn't apply my anticheat health well, so that was most likely the case.
Thanks for helpin' me out
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)