03.11.2016, 20:53
I just added a anti-weapon/ammo hack to my server, when someone shoots with a minigun for exemple, the callback OnPlayerWeaponShot do this pMinigun[playerid] -= 1;, it's a global variable. I have a 1 sec timer that check if GetPlayerAmmo it's equal with pMinigun[playerid], but that give's me false positive when i shoot, what can i do?