GET_TRANSPORT_CONFIG_FLAG
Returns the state of configuration flag flagId on transportEntity. The meaning of p2 is not documented.
Signature
BOOL GET_TRANSPORT_CONFIG_FLAG(Entity transportEntity, int flagId, BOOL p2); // 0xF382C92CCC1CCDBC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | transportEntity | Entity |
| 2 | flagId | int |
| 3 | p2 | BOOL |
Facts
| Name | GET_TRANSPORT_CONFIG_FLAG |
|---|---|
| Hash | 0xF382C92CCC1CCDBC |
| 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 = Citizen.InvokeNative(0xF382C92CCC1CCDBC, -- GET_TRANSPORT_CONFIG_FLAG
PlayerPedId(), -- Entity transportEntity
0, -- int flagId
false -- BOOL p2
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xF382C92CCC1CCDBC", // GET_TRANSPORT_CONFIG_FLAG
PlayerPedId(), // Entity transportEntity
0, // int flagId
false, // BOOL p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xF382C92CCC1CCDBC, // GET_TRANSPORT_CONFIG_FLAG
API.PlayerPedId(), // Entity transportEntity
0, // int flagId
false // BOOL p2
);Related AITRANSPORT natives
- SET_TRANSPORT_CONFIG_FLAG
- _GET_PED_IN_TRANSPORT_SEAT
- _GET_TRANSPORT_USAGE_FLAGS
- _CLEAR_TRANSPORT_EXIT_BLEND_RATIO
- _IS_PED_ON_TRANSPORT_ENTITY
- _IS_PED_ON_TRANSPORT_SEAT
- _IS_TRANSPORT_SEAT_FREE
- _IS_TRANSPORT_SEAT_OCCUPIED
- _SET_AI_CAN_USE_TRANSPORT
- _SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
- _SET_TRANSPORT_EXCLUSIVE_DRIVER
- _SET_TRANSPORT_EXIT_BLEND_RATIO
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.