GET_ONSCREEN_KEYBOARD_RESULT
Returns the text entered in the on-screen keyboard, or null if nothing was confirmed.
Signature
const char* GET_ONSCREEN_KEYBOARD_RESULT(); // 0xAFB4CF58A4A292B1 b1207Parameters
This native takes no parameters.
Facts
| 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.
local result = Citizen.InvokeNative(0xAFB4CF58A4A292B1, -- GET_ONSCREEN_KEYBOARD_RESULT
Citizen.ResultAsString()
)
print(result)const result = Citizen.invokeNative("0xAFB4CF58A4A292B1", // GET_ONSCREEN_KEYBOARD_RESULT
Citizen.resultAsString()
);
console.log(result)string result = Function.Call<string>((Hash)0xAFB4CF58A4A292B1); // GET_ONSCREEN_KEYBOARD_RESULTRelated MISC natives
- NEXT_ONSCREEN_KEYBOARD_RESULT_WILL_DISPLAY_USING_THESE_FONTS
- CANCEL_ONSCREEN_KEYBOARD
- DISPLAY_ONSCREEN_KEYBOARD
- UPDATE_ONSCREEN_KEYBOARD
- GET_ANGLE_BETWEEN_2D_VECTORS
- GET_BENCHMARK_ITERATIONS
- GET_BENCHMARK_PASS
- GET_BITS_IN_RANGE
- GET_CLOSEST_POINT_ON_LINE
- GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE
- GET_CURR_WEATHER_STATE
- GET_DISTANCE_BETWEEN_COORDS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.