[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
-
undefined bhfff referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login