Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic virtual void GetKeys(
out Keys keys,
out int updown,
out int leftright
)
Parameters
- keys
- Type: SampSharp.GameMode.DefinitionsKeys
A set of bits containing this Player's key states - updown
- Type: SystemInt32
Up or Down value, passed by reference. - leftright
- Type: SystemInt32
Left or Right value, passed by reference.
Remarks
Only the FUNCTION of keys can be detected; not actual keys. You can not detect if the player presses space, but you
can detect if they press sprint (which can be mapped (assigned) to ANY key, but is space by default)).
See Also