View Single Post
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-12-2019 , 14:47   Re: Module: Half-Life Weapon Mod (v0.8)
Reply With Quote #180

How can I know if a playet is currently holding a custom weapon?

Context: I need to do stuff in AddToFullPack if the target player has this weapon drawn.

EDIT: Fixed it by turning the weapon index to a global and then using get_user_weapon()
__________________

Last edited by gabuch2; 04-12-2019 at 23:53.
gabuch2 is offline