Raised This Month: $ Target: $400
 0% 

Question about Effiency


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 10-03-2011 , 00:14   Question about Effiency
Reply With Quote #1

Prethink vs Ham_PrimaryAttack & Ham_SecondaryAttack

Which would be better hooking primary attack for every weapon (secondary attack for knife) or use prethink and check buttons pressed?
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-03-2011 , 00:26   Re: Question about Effiency
Reply With Quote #2

PrimaryAttack will only be called when button is pressed, so you have your answer ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 10-03-2011 , 00:26   Re: Question about Effiency
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
PrimaryAttack will only be called when button is pressed, so you have your answer ;)
Thought so... Thanks for the confirm
Doc-Holiday is offline
Old 10-03-2011, 00:28
ConnorMcLeod
This message has been deleted by ConnorMcLeod. Reason: ops
Reply



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 18:52.


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