The Lab
MISC native

GET_ONSCREEN_KEYBOARD_RESULT

returns const char*0 paramsbuild 1207

Returns the text entered in the on-screen keyboard, or null if nothing was confirmed.

Signature

C
const char* GET_ONSCREEN_KEYBOARD_RESULT(); // 0xAFB4CF58A4A292B1 b1207

Parameters

This native takes no parameters.

Facts

Facts about GET_ONSCREEN_KEYBOARD_RESULT
Name
GET_ONSCREEN_KEYBOARD_RESULT
Hash
0xAFB4CF58A4A292B1
Namespace
Returns
const char*
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xAFB4CF58A4A292B1, -- GET_ONSCREEN_KEYBOARD_RESULT
  Citizen.ResultAsString()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xAFB4CF58A4A292B1", // GET_ONSCREEN_KEYBOARD_RESULT
  Citizen.resultAsString()
);
console.log(result)
C#
string result = Function.Call<string>((Hash)0xAFB4CF58A4A292B1); // GET_ONSCREEN_KEYBOARD_RESULT
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.