GET_ONSCREEN_KEYBOARD_RESULT
Returns NULL unless UPDATE_ONSCREEN_KEYBOARD() returns 1 in the same tick.
Hash
0xAFB4CF58A4A292B1Runtime name
GetOnscreenKeyboardResultNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x8362B09B91893647Signature
const char* GET_ONSCREEN_KEYBOARD_RESULT();Returns const char*
Description
Returns NULL unless UPDATE_ONSCREEN_KEYBOARD() returns 1 in the same tick.
Usage
local retval = GetOnscreenKeyboardResult()
-- always works, by hash
local retval = Citizen.InvokeNative(0xAFB4CF58A4A292B1, Citizen.ResultAsString())JavaScript and C#
const retval = GetOnscreenKeyboardResult();
// by hash
const retval = Citizen.invokeNative('0xAFB4CF58A4A292B1', Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0xAFB4CF58A4A292B1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.