RedM Natives

GET_TRANSPORT_CONFIG_FLAG

Hash0xF382C92CCC1CCDBC
Runtime nameGetTransportConfigFlag
NamespaceAITRANSPORT
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL GET_TRANSPORT_CONFIG_FLAG(Entity transportEntity, int flagId, BOOL p2);

Parameters

NameTypeDescription
transportEntityEntity—
flagIdint—
p2BOOL—

Returns BOOL

Description

Usage

Lua
local retval = GetTransportConfigFlag(transportEntity, flagId, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0xF382C92CCC1CCDBC, transportEntity, flagId, p2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetTransportConfigFlag(transportEntity, flagId, p2);

// by hash
const retval = Citizen.invokeNative('0xF382C92CCC1CCDBC', transportEntity, flagId, p2, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xF382C92CCC1CCDBC, transportEntity, flagId, p2);

See also

Sources

alloc8or RDR3 NativeDB

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