Keys::isDown
Внешний вид
Function to check if specific key is pressed down.
Syntax
mp.keys.isDown(keyCode);
Required Argument
- keycode - hexadecimal code of key.
Return Value
- Boolean -
trueif the key specified is pressed, Otherwisefalse.
Example
An interval that runs every 100ms and outputs the state of the key bound. (F2)
Client-Side
{{{1}}}