Health Glitch? - 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: Health Glitch? (
/showthread.php?tid=286117)
Health Glitch? -
Fierro - 26.09.2011
For some reason, I have a glitch on a server in testing (not giving IP, its not online for the public yet) where my player can lose health on the first spawn, but after I die, I can only lose health by doing something like setting my health to 0 or jumping a tall building. I can't really explain anymore on the subject though.
Re: Health Glitch? -
IceCube! - 26.09.2011
Like a player shoots you and nothing happens?
Give us your OnPLayerSpawn Code
Re: Health Glitch? -
Ensconce - 27.09.2011
Could be something to do with your teams. Remember Team Killing is disabled when two players are from the same team.
Re: Health Glitch? - suhrab_mujeeb - 27.09.2011
Quote:
Originally Posted by Ensconce
Could be something to do with your teams. Remember Team Killing is disabled when two players are from the same team.
|
Do you even know what script is he using and if he has or hasn't disabled the team kill?
Re: Health Glitch? -
Ensconce - 27.09.2011
Quote:
Originally Posted by suhrab_mujeeb
Do you even know what script is he using and if he has or hasn't disabled the team kill?
|
He hasn't provided any information regarding the script, but SetPlayerTeam automatically makes it so that you cannot kill players in the same team. Therefore it is fair to assume that he is using it without knowing and labelling it as a 'glitch'.
Re: Health Glitch? -
Fierro - 27.09.2011
There is nothing in the OnPlayerSpawn callback, and all players are set to a single native team, while I will set them to teams on my own using my own team scripts (that I have not yet implemented). But there are no players, guys. It's a server that's offline to the public, only playable by me because I haven't portforwarded it.
I'm sorry about the troubles, I just noticed I've never tested the uh my Admin Invincibility script. That's the reason it keeps refilling. So sorry.
/thread