Anti lag-shooting (+rep) - 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: Anti lag-shooting (+rep) (
/showthread.php?tid=325049)
Anti lag-shooting (+rep) -
Test23 - 11.03.2012
I just saw
https://sampforum.blast.hk/showthread.php?tid=316757 in where if the player who shoots aims at the body the player will lose health regardless if the other player sees the bullets hit him, I'm wondering how is this possible, what code must I add to do that?
Re: Anti lag-shooting (+rep) -
[ABK]Antonio - 11.03.2012
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage
Re: Anti lag-shooting (+rep) -
Test23 - 11.03.2012
Yeah, I've seen that but all that does is shout the damage given on main chat? Does it also descrease the health if they player sees shooting the other player on his screen.
Re: Anti lag-shooting (+rep) -
[ABK]Antonio - 11.03.2012
You can use it to detect if they shot the other players skin
Re: Anti lag-shooting (+rep) -
Test23 - 11.03.2012
So it won't affect the players health?
I need somthing like this [ame]http://www.youtube.com/watch?v=3gQ1BWf-_8M[/ame]
where there's no lag shooting, what do I add and where?
Thanks in advanced.
Re: Anti lag-shooting (+rep) -
Test23 - 11.03.2012
BUMP