View Full Version : All hookable keys
I've been searching for a list of all hookable keys like IN_JUMP, IN_DUCK and all the others, but can't seem to find it anywhere.
Could someone make a list of all these.
Thanks
Sylwester
06-25-2010, 06:28
scripting\include\hlsdk_const.inc
// pev(entity, pev_button) or pev(entity, pev_oldbuttons) values
#define IN_ATTACK (1<<0)
#define IN_JUMP (1<<1)
#define IN_DUCK (1<<2)
#define IN_FORWARD (1<<3)
#define IN_BACK (1<<4)
#define IN_USE (1<<5)
#define IN_CANCEL (1<<6)
#define IN_LEFT (1<<7)
#define IN_RIGHT (1<<8)
#define IN_MOVELEFT (1<<9)
#define IN_MOVERIGHT (1<<10)
#define IN_ATTACK2 (1<<11)
#define IN_RUN (1<<12)
#define IN_RELOAD (1<<13)
#define IN_ALT1 (1<<14)
#define IN_SCORE (1<<15) // Used by client.dll for when scoreboard is held down
What is the difference between IN_LEFT & IN_MOVELEFT?
joropito
06-25-2010, 10:20
What is the difference between IN_LEFT & IN_MOVELEFT?
One of them is strafe key.
One of them is strafe key.
I guess that would be IN_MOVELEFT, right?
Can you guys teach me how to use this hooks? 1 Example with In_Jump? Pls :D
Use
Search (http://forums.alliedmods.net/search.php)
Sylwester
06-25-2010, 15:50
Check this thread: http://forums.alliedmods.net/showthread.php?p=1219528
If it's not enough then use Search. (http://forums.alliedmods.net/search.php)
I looked in here: http://forums.alliedmods.net/showthread.php?t=40210
EDIT: Lol sylwester :mrgreen:
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.