[ZM] Function to check if the current held gun is a shotgun
-
Hello, bo1 doesn't seem to have a function specifically made to check for held shotguns (only semi-automatic weapons).
Hopefully it will help your developent a little
weaponIsShotGun(CurrentWeapon) { if(CurrentWeapon == "ithaca_zm" || CurrentWeapon == "spas_zm" || CurrentWeapon == "rottweil72_zm" || CurrentWeapon == "hs10_zm") { return true; } if(CurrentWeapon == "ithaca_upgraded_zm" || CurrentWeapon == "spas_upgraded_zm" || CurrentWeapon == "rottweil72_upgraded_zm" || CurrentWeapon == "hs10_upgraded_zm") { return true; } return false; }
-
legend, ty
-