View Single Post
Author Message
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 06-13-2014 , 15:07   ham item deploy being a piece of shit
Reply With Quote #1

So I'm trying to set maxspeed with the newly aquired forward and it's just not working
I made sure it's post and not pre, still, I need a goddamn task because setspeed is called before the user's speed is set to weapon speed

waterfuck? any workaround or I'll have to create tens of tasks

RegisterHam( Ham_Item_Deploy, "weapon_knife", "fwReplaceKnifeModels", 1);

okay, so to add some more detail, I've basically removed the entire part of the item deploy that handles maxspeed, moved it into a new function, and am now calling it 0.1 seconds after ham_item_deploy. It's working but the delay is noticable, and I'm also worried it might malfunction.

Why is this happening? Is there any other workaround? I didn't have this problem with curweapon...

Last edited by aron9forever; 06-13-2014 at 15:27. Reason: details
aron9forever is offline