You can find out if a command button (eg. attack, strafe, crouch, etc)
is being press, has been pressed, or has been released by using the
following bit flags:
m_nButtons
m_afButtonPressed
m_afButtonReleased
The code for these puppies would be like this:
if ( m_afButtonPressed & IN_ATTACK )
Hope
Hi everyone.
Does anyone know the equivalent of GetCurrentCommand() in CBasePlayer
for the HL2DM (or updated) SDK?
Thanks
--
Knifa
SourceForts
http://knd.org.uk/sourceforts/
___
To unsubscribe, edit your list preferences, or view the list archives, please
2 matches
Mail list logo