GoldenEye: Source Forums

Editing and Customization => Modding Help => Topic started by: null on January 21, 2017, 03:21:24 am

Title: Python Function to remove a single players weapon?
Post by: null on January 21, 2017, 03:21:24 am
Currently player.StripAllWeapons() is the only function that i know of to remove weapons from players. Is there a way to remove just one weapon without removing another?

Thanks!

Null
Title: Re: Python Function to remove a single players weapon?
Post by: Entropy-Soldier on January 21, 2017, 08:17:29 pm
Sadly not at the moment.

What do you want to do?  There might be another way.
Title: Re: Python Function to remove a single players weapon?
Post by: null on January 23, 2017, 11:48:05 pm
Thanks for the response,

This is for Arsenal, but if a player has slappers as their active weapon when they level up. They will auto switch to the new weapon instead of staying on the current weapon. I was just looking for alternative ways of switching out weapons without removing slappers too.

Null