Raised This Month: $ Target: $400
 0% 

bug in hamsandwich ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 05-08-2010 , 12:01   bug in hamsandwich ?
Reply With Quote #1

When I hook Ham_Weapon_PrimaryAttack, it is called constantly when im firing pistols until i pull of the attack key. Every other weapon works fine, just the pistols.

If someone didn't understand - When I'm holding attack button when using a pistol, the hook is called every frame. It should be called only once, cause i activated weapon only once.

Could someone fix this ?

I did a workaround by sending client cmd "-attack;-attack" each time they fire a pistol. But its still firing that function every frame when someone is holding attack button when using a pistol.
__________________
Voi is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode