![]() ![]() If not IsValid(self) or not self.Owner:Alive() then return end self.Weapon:EmitSound( "weapons/iceaxe/iceaxe_swing1.wav" ) self.Weapon:PrimarySlash() end) ![]() ![]() If not IsValid(self) or not self.Owner:Alive() then return end self.Weapon:EmitSound( "weapons/iceaxe/iceaxe_swing1.wav" ) self.Weapon:PrimarySlash() self.Owner:SetAnimation( PLAYER_ATTACK1 ) end ) If self.Owner:KeyDown(IN_USE) & self.Owner:IsPlayer() then I've looked around at CurTime and things however, I already have an IF then Else statement and unsure how to use CurTime coding into it. But doing that, it has made it where I can spam attack and So i'm looking for a delay/cooldown to it. I have IN_USE set up as my primary attack instead of SWEP:PrimaryAttack on purpose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |