setNuiKeepInput
Client
Chooses whether the game keeps getting the mouse and the keyboard while an interface page has focus.
bool setNuiKeepInput(bool keep)
Parameters
| Name | Type | Description |
|---|---|---|
| keep | bool | true 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)