M MY Multiplayer: Wiki
Side
Kind

setNuiKeepInput

Client

Chooses whether the game keeps getting the mouse and the keyboard while an interface page has focus.

bool setNuiKeepInput(bool keep)

Parameters

NameTypeDescription
keepbooltrue for the game to keep getting input, false for the page to take it.

Returns

Always true, unless the argument is wrong.

The choice holds for every page, not just the calling resource's.

Example

setNuiFocus(true)
setNuiKeepInput(true)

See also