Перейти к содержанию

Keys::isUp

Материал из RAGE MP Wiki Archive

Function to check if specific key is released.

Syntax

mp.keys.isUp(keyCode);

Required Argument

  • keycode - hexadecimal code of key.

Return Value

  • Boolean - true if the key specified is released, otherwise false.

Example

An interval that runs every 100ms and outputs the state of the key bound. (F2)

Client-Side

{{{1}}}

See also