AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Question about Effiency (https://forums.alliedmods.net/showthread.php?t=168714)

Doc-Holiday 10-03-2011 00:14

Question about Effiency
 
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?

ConnorMcLeod 10-03-2011 00:26

Re: Question about Effiency
 
PrimaryAttack will only be called when button is pressed, so you have your answer ;)

Doc-Holiday 10-03-2011 00:26

Re: Question about Effiency
 
Quote:

Originally Posted by ConnorMcLeod (Post 1567435)
PrimaryAttack will only be called when button is pressed, so you have your answer ;)

Thought so... Thanks for the confirm


All times are GMT -4. The time now is 19:35.

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