detect if player is switching weapons.
#2

Give players only one weapon at once, and when pressing your custom weapon switch key, remove it and give them the next equipped weapon.
They can still switch to unarmed, you may prevent that with SetPlayerArmedWeapon in OnPlayerUpdate, but maybe you want it like that, so they can always use unarmed attacks.
Reply


Messages In This Thread
detect if player is switching weapons. - by jasperschellekens - 09.02.2018, 14:29
Re: detect if player is switching weapons. - by Mauzen - 09.02.2018, 14:35
Re: detect if player is switching weapons. - by raydx - 09.02.2018, 14:36
Re: detect if player is switching weapons. - by Mugala - 09.02.2018, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)