SET_NUI_FOCUS
Signature
void SET_NUI_FOCUS(BOOL hasFocus, BOOL hasCursor);Parameters
| Name | Type | Description |
|---|---|---|
hasFocus | BOOL | — |
hasCursor | BOOL | — |
Returns void
Usage
SetNuiFocus(hasFocus, hasCursor)
-- always works, by hash
Citizen.InvokeNative(0x5b98ae30, hasFocus, hasCursor)JavaScript and C#
SetNuiFocus(hasFocus, hasCursor);
// by hash
Citizen.invokeNative('0x5b98ae30', hasFocus, hasCursor);Function.Call((Hash)0x5b98ae30, hasFocus, hasCursor);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.