RedM Natives

_TELEMETRY_CREATE_UUID

Works in MP only.

Hash0xE692D336F8A2A97F
Runtime nameTelemetryCreateUuid
NamespaceTELEMETRY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _TELEMETRY_CREATE_UUID(Any* uuid);

Parameters

NameTypeDescription
uuidAny*—

Returns BOOL

Description

Works in MP only.

Usage

Lua
local retval, uuid = TelemetryCreateUuid(uuid)

-- always works, by hash
local retval, uuid = Citizen.InvokeNative(0xE692D336F8A2A97F, Citizen.PointerValueIntInitialized(uuid), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, uuid] = TelemetryCreateUuid(uuid);

// by hash
const [retval, uuid] = Citizen.invokeNative('0xE692D336F8A2A97F', Citizen.pointerValueIntInitialized(uuid), Citizen.returnResultAnyway());
C#
var uuid = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xE692D336F8A2A97F, uuid);
// uuid.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.