_TRY_GET_TELEMETRY_ID_FROM_TRANSACTION_ID
Based on its name and signature, here is our best reading:
Looks up the telemetry request id for a transaction id, returning true if found.
Signature
BOOL _TRY_GET_TELEMETRY_ID_FROM_TRANSACTION_ID(Any* transactionId, Any* requestId); // 0xF184B3ECE36219CF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | transactionId | Any* (out pointer) |
| 2 | requestId | Any* (out pointer) |
Facts
| Name | _TRY_GET_TELEMETRY_ID_FROM_TRANSACTION_ID |
|---|---|
| Hash | 0xF184B3ECE36219CF |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, transactionId, requestId = Citizen.InvokeNative(0xF184B3ECE36219CF, -- _TRY_GET_TELEMETRY_ID_FROM_TRANSACTION_ID
Citizen.PointerValueInt(), -- Any* transactionId
Citizen.PointerValueInt(), -- Any* requestId
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, transactionId, requestId] = Citizen.invokeNative("0xF184B3ECE36219CF", // _TRY_GET_TELEMETRY_ID_FROM_TRANSACTION_ID
Citizen.pointerValueInt(), // Any* transactionId
Citizen.pointerValueInt(), // Any* requestId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var transactionIdArg = new OutputArgument();
var requestIdArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xF184B3ECE36219CF, // _TRY_GET_TELEMETRY_ID_FROM_TRANSACTION_ID
transactionIdArg, // Any* transactionId
requestIdArg // Any* requestId
);
int transactionId = transactionIdArg.GetResult<int>();
int requestId = requestIdArg.GetResult<int>();Related TELEMETRY natives
- _TELEMETRY_ROLE_TOKEN_TRANSACTION
- _TELEMETRY_SET_SHOP_FOR_TRANSACTION
- _TELEMETRY_TRIGGER_TRANSACTION_REQUEST
- _TELEMETRY_AMBIENT_VIGNETTE
- _TELEMETRY_ANIMAL_SKINNED
- _TELEMETRY_BOUNTY_TARGET
- _TELEMETRY_CAMP_CREATED
- _TELEMETRY_CAMP_SUPPLIES
- _TELEMETRY_CHAR_CREATOR
- _TELEMETRY_COLLECT
- _TELEMETRY_COUPON
- _TELEMETRY_CRAFT_ITEM
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.