Serverside 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: Serverside Health (
/showthread.php?tid=442438)
Serverside Health -
cotyzor - 07.06.2013
Any tutorial about how to move health (and armor) values from client to server side ?
Re: Serverside Health -
MP2 - 07.06.2013
Use SetPlayerTeam to set everyone to the same team to enable the anti-teamkill system (prevents SA-MP controlling damage). Then you can use OnPlayerGive/TakeDamage to handle damage.
Re: Serverside Health -
cotyzor - 08.06.2013
Hmm ... I can't I have 3 different teams, another answers ?