isScancodePressed

From GTA Connected
Jump to navigation Jump to search

Function Client Only All Games Online and Offline

Client 1.0.0

bool isScancodePressed(int scanCodeKey)

Description

The isScancodePressed function is used to fetch the status of a scancode key being pressed.

Parameters

Type Name Presence Default Value Description
bool
scanCodeKey
required n/a The scancode for the key.

Returns

Success Returns

Type Description
bool
A boolean, representing whether the scancode key is pressed down.

Failure Returns

Type Value
void
n/a

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

bindKey
isKeyDown
isScancodePressed
unbindAllKeys
unbindKey