(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Parameters
integer key -- Key to check.
Result
boolean
Supported By
idPlayer
- Key may be PK_ATTACK, PK_RUN, PK_MODESWITCH, PK_MOUSELOOKOFF, PK_SPRINT, PK_ACTIVATE, PK_ALTFIRE, PK_LEANLEFT, PK_LEANRIGHT or PK_TOPHAT.
Functionality
Returns whether the player is holding down the specified key or not.