SA-MP Forums Archive
Anti ammo cheat. - 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 ammo cheat. (/showthread.php?tid=462698)



Anti ammo cheat. - audriuxxx - 08.09.2013

Hi,

Players can do that thing with ******s. They shoot but ammo don't decreasing, if player have 50 ammo in m4, he start shooting and there is always 50 ammo.. How to make protect from this? because i have ammo anti-cheat, but there if player have more ammo in hands, more than is in variable.


Re: Anti ammo cheat. - Weponz - 08.09.2013

Show us some code?


Re: Anti ammo cheat. - playbox12 - 08.09.2013

You can detect mouse clicks, you can detect the players ammo you can detect if he's reloading detect if he's aiming etc. I think it's easy enough.