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 this helps, Teddy On Sat, 26 Feb 2005 05:25:11 +0000, Knifa <[EMAIL PROTECTED]> wrote: > 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 > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

