Checking Of Ammo - 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: Checking Of Ammo (
/showthread.php?tid=562552)
Checking Of Ammo -
nezo2001 - 09.02.2015
So, I tired of this
Now , If the player clicked the fire key while the weapon is still reloding he will get ban why ?
Because :
When the player reloading his ammo didn't change
And i check for the player ammo's and if it equal to the new ammo after the timer he will banned
And if ii increased the timer nothing will happen because if he still clicked it and the timer worked he will banned.
REP++.
Guy please this isn't for my server this is for a famous server that face many hackers so i have to help them
Re: Checking Of Ammo -
HazardouS - 09.02.2015
Check this out:
https://sampwiki.blast.hk/wiki/Weapon_States
Maybe if you add an exception for Weapon state RELOADING, it will work.