Jump to content
Sign in to follow this  
ZZEZ

Removing loaded magazine from weapon

Recommended Posts

I need a way to remove the currently loaded magazine from a weapon, whenever I use removeMagazine with forEach it only removes magazines that are in the uniform/vest/backpack, if I use removeMagazine "Classname" when only the loaded magazine is present it doesn't remove it, any ideas how I can remove the loaded magazine?

Share this post


Link to post
Share on other sites

Well, after you remove all his magazines you can do this

player setAmmo [primaryWeapon player, 0];

That will remove all the bullets in the loaded magazine, though it won't remove the actual visible magazine from the weapon.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×