SampSharp
SampSharp
SampSharp.GameMode.Tools
KeyUtils Class
KeyUtils Methods
IsHolding Method
IsHolding Method (KeyStateChangedEventArgs, Keys)
IsHolding Method (Keys, Keys, Keys)
KeyUtils
IsHolding Method (Keys, Keys, Keys)
Checks if
Keys
are being hold.
Namespace:
SampSharp.GameMode.Tools
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
static
bool
IsHolding
(
Keys
newKeys
,
Keys
oldKeys
,
Keys
keys
)
Parameters
newKeys
Type:
SampSharp.GameMode.Definitions
Keys
New
Keys
.
oldKeys
Type:
SampSharp.GameMode.Definitions
Keys
Old
Keys
.
keys
Type:
SampSharp.GameMode.Definitions
Keys
The
Keys
to check for.
Return Value
Type:
Boolean
Whether the
Keys
are being hold.
See Also
Reference
KeyUtils Class
IsHolding Overload
SampSharp.GameMode.Tools Namespace