_SET_TRANSPORT_USAGE_FLAGS
Sets the usage flags of transportEntity to flags.
Signature
void _SET_TRANSPORT_USAGE_FLAGS(Entity transportEntity, int flags); // 0xE2487779957FE897 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | transportEntity | Entity |
| 2 | flags | int |
Facts
| Name | _SET_TRANSPORT_USAGE_FLAGS |
|---|---|
| Hash | 0xE2487779957FE897 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xE2487779957FE897, -- _SET_TRANSPORT_USAGE_FLAGS
PlayerPedId(), -- Entity transportEntity
0 -- int flags
)Citizen.invokeNative("0xE2487779957FE897", // _SET_TRANSPORT_USAGE_FLAGS
PlayerPedId(), // Entity transportEntity
0 // int flags
);Function.Call((Hash)0xE2487779957FE897, // _SET_TRANSPORT_USAGE_FLAGS
API.PlayerPedId(), // Entity transportEntity
0 // int flags
);Related AITRANSPORT natives
- _SET_TRANSPORT_EXCLUSIVE_DRIVER
- _SET_TRANSPORT_EXIT_BLEND_RATIO
- _SET_TRANSPORT_PRIORITY_SEAT
- _GET_TRANSPORT_USAGE_FLAGS
- SET_TRANSPORT_ACCESSIBLE_SEAT_FLAGS
- _SET_AI_CAN_USE_TRANSPORT
- _SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
- SET_PED_OFF_TRANSPORT_SEAT
- SET_PED_ON_TRANSPORT_SEAT
- SET_TRANSPORT_CONFIG_FLAG
- _CLEAR_TRANSPORT_EXIT_BLEND_RATIO
- _GET_PED_IN_TRANSPORT_SEAT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.