View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-27-2018 , 13:00   Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Reply With Quote #102

Yes, it is possible and probably easier, forget what I said about orpheu/okapi.
Hook PrimaryAttack for m249, supercede and then simply create a custom entity using the code I linked before to set it's origin and velocity. Basically take only the math from the link. Next thing is to hook touch for your custom entity and make it do something.
__________________
HamletEagle is offline