CMoveData/KeyWasDown

From Garry's Mod
Revision as of 13:13, 7 December 2013 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 CMoveData:KeyWasDown( )

Description

Returns whether the key was down or not.

Unlike CMoveData:KeyDown, it will return false if CMoveData:KeyPressed is true and it will return true if CMoveData:KeyReleased is true.

Arguments

number key

The key to test, seee IN_ Enums

Returns

boolean

Was the key down or not
Personal tools
Navigation