Click or drag to resize

KeyUtilsHasPressed Method (Keys, Keys, Keys)

Checks if Keys have been pressed.

Namespace:  SampSharp.GameMode.Tools
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static bool HasPressed(
	Keys newKeys,
	Keys oldKeys,
	Keys keys
)

Parameters

newKeys
Type: SampSharp.GameMode.DefinitionsKeys
New Keys.
oldKeys
Type: SampSharp.GameMode.DefinitionsKeys
Old Keys.
keys
Type: SampSharp.GameMode.DefinitionsKeys
The Keys to check for.

Return Value

Type: Boolean
Whether the Keys have been pressed.
See Also