07.05.2017, 16:31
Hi, I made this ammo anti cheat
and it works perfectly for all guns except MP5 because it's too fast. Does anyone have an idea how to make it work for MP5? I'd really appreciate it.
Код:
//OnPlayerWeaponShot... new ammo = GetPlayerAmmo(playerid) - 1, slot = GetWeaponSlot(weaponid); if (ammo >= PlayerInfo[playerid][pAmmo][slot]) { //player is cheating ammo } else PlayerInfo[playerid][pAmmo][slot] = ammo;