Player Health - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Player Health (
/showthread.php?tid=361082)
Player Health -
dreamboxxl - 20.07.2012
Hello,
i got a problem when entering a vehicle.
My Health before entering a vehicle was low, but after entering a vehicle it's just back to 100 percent.
It's not the vehicle health, because if i exit the vehicle again the playerhealth is 100 percent again.
What could be the problem?
Thank you for any help.
Greets
Re: Player Health -
[KHK]Khalid - 20.07.2012
Search for something sets the player's health (SetPlayerHealth) in callbacks like OnPlayerEnterVehicle or OnPlayerStateChange then remove it.
Re: Player Health -
dreamboxxl - 20.07.2012
Quote:
Originally Posted by HellSphinX
Search for something sets the player's health (SetPlayerHealth) in callbacks like OnPlayerEnterVehicle or OnPlayerStateChange then remove it.
|
Thank You