isKeyDown

From GTA Connected
Jump to navigation Jump to search

Function Client Only All Games Online and Offline

Client 1.0.0

bool isKeyDown(int keyCode)

Description

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

Parameters

Type Name Presence Default Value Description
int
keyCode
required n/a The code for the key.

Returns

Success Returns

Type Description
bool
A boolean, representing whether the 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