View Single Post
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-22-2020 , 07:41   Re: CSGO correct usage of manual hooks
Reply With Quote #2

I don't think there is anything wrong with your hook, the crash is quite far down the call stack - based on the stack trace and your code, I'd say the game just isn't liking you calling Weapon_Switch at that time.
asherkin is offline