GET_TRANSPORT_CONFIG_FLAG
Hash
0xF382C92CCC1CCDBCRuntime name
GetTransportConfigFlagNamespaceAITRANSPORT
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL GET_TRANSPORT_CONFIG_FLAG(Entity transportEntity, int flagId, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
transportEntity | Entity | — |
flagId | int | — |
p2 | BOOL | — |
Returns BOOL
Description
flagId: see SET_TRANSPORT_CONFIG_FLAG
Usage
local retval = GetTransportConfigFlag(transportEntity, flagId, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF382C92CCC1CCDBC, transportEntity, flagId, p2, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetTransportConfigFlag(transportEntity, flagId, p2);
// by hash
const retval = Citizen.invokeNative('0xF382C92CCC1CCDBC', transportEntity, flagId, p2, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xF382C92CCC1CCDBC, transportEntity, flagId, p2);See also
SET_TRANSPORT_CONFIG_FLAGTCF_NotConsideredForEntryByLocalPlayer, TCF_0xB78D6624, TCF_0xA9700425, TCF_0x8D7E4641, TCF_0xF24BAA1F, TCF_0x63B77935, TCF_NotConsideredForEntryByAllPlayers, TCF_0xD17A2AFD, TCF_0xD4E4FDD5, TCF_0x8227C929, TCF_0x812C1070, TCF_0x0E1AB26F…
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.