Players not taking damage - 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: Players not taking damage (
/showthread.php?tid=413037)
Players not taking damage -
glbracer - 03.02.2013
This has been a problem in a few of my scripts. Players don't take damage. The health bar goes down for a half of a second, then goes back to full health. This is when health isn't stacked, health is exactly 100. It doesn't matter what gun they're using, or if the damage is self inflicted. The only weapons that do damage are the fire extinguisher and spray paint. Another problem I'm having is similar, but I'm not sure if it's related; When a player dies (whether it's by falling from at least 500 meters, or the two weapons above) they die INSTANTLY, just the screaming sound, then it takes them back to the class selection.
I DID have custom damage values set in an attempt to get it to work, but it failed.
Re: Players not taking damage -
u3ber - 03.02.2013
well it's obvious that the issue isn't sa-mp, so...code?
Re: Players not taking damage -
[swat]dragon - 03.02.2013
You should give us the code you're using, SA:MP isn't the problem, as arbit said.