• Changing Hold on a weapon after attacking?!
    2 replies, posted
Is there a way I can change a Hold so that when a player +attack1 or +attack2 that the hold turns to fist and then when there doing nothing it turns to normal (no hands)???
There is a way to do everything. You can setup a timer on the swep that gets restarted after you shoot and if it doesn't get restarted before it's delay passes, it changes your weapon to fists.
[QUOTE=Netheous;41262474]There is a way to do everything. You can setup a timer on the swep that gets restarted after you shoot and if it doesn't get restarted before it's delay passes, it changes your weapon to fists.[/QUOTE] Yea, I think thats what PunchIdle does. But it doesn't work :/. I am wondering is there is a way of making a simple timer that changes holdtype to normal and in the +attack section if I can add the holdtype function to fist. [editline]1st July 2013[/editline] I dided it :) [CODE]function SWEP:DoIdle(seconds) timer.Destroy("PunchIdle") timer.Create("PunchIdle", seconds, 1, function SWEP:Initialize() self:SetWeaponHoldType("normal"); end) end[/CODE] [editline]1st July 2013[/editline] And then it when someone +attacks 1 or 2 it changes to fists with punch anim [editline]1st July 2013[/editline] Nop... Still having issues. Its working on my Client on thirdperson but it doesn't work when I look at others. Its the same with my Guns running animation. On thirdperson my gun faces down while sprinting but, looking at others its not :(
Sorry, you need to Log In to post a reply to this thread.