Jump to content
Sign in to follow this  
peeps

Weapon swap script

Recommended Posts

Hi folks,

Can anyone tell me if it is possible to remove only the magazines usable by a particular weapon from a players inventory on an automated basis.

I have a ui to let players pick their weapon but im struggling with how to remove the magazines from a players inventory when the weapon is removed before the new one is added.

At the moment im using for loops to readd ammunition such as hand grenades and smoke grenades that gets removed but this method is going to get ridiculously convoluted.

Does anyone have a smarter solution?

Thanks,

Sam

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  

×