aitransport¶
task_enter_transport¶
void native.aitransport.task_enter_transport(ptr int args)
task_exit_transport¶
void native.aitransport.task_exit_transport(ptr int args)
set_ped_on_transport_seat¶
void native.aitransport.set_ped_on_transport_seat(int ped, int transport_entity, int seat, int flags)
set_ped_off_transport_seat¶
void native.aitransport.set_ped_off_transport_seat(int ped, int flags)
set_transport_config_flag¶
void native.aitransport.set_transport_config_flag(int transport_entity, int flag_id, bool value)
flagId:
enum eTransportConfigFlags
{
TCF_NotConsideredForEntryByLocalPlayer,
TCF_0xB78D6624,
TCF_0xA9700425,
TCF_0x8D7E4641,
TCF_0xF24BAA1F,
TCF_0x63B77935,
TCF_NotConsideredForEntryByAllPlayers,
TCF_0xD17A2AFD,
TCF_0xD4E4FDD5,
TCF_0x8227C929,
TCF_0x812C1070,
TCF_0x0E1AB26F,
TCF_0xBF4EC863,
TCF_0x75660C36,
TCF_0xA2539E20,
TCF_0x9162C633,
TCF_DisableHonorModifiers,
TCF_0xF9E71CB6,
TCF_0x933ECD3F,
TCF_0x18513A34
};
https://github.com/femga/rdr3_discoveries/tree/master/AI/TRANSPORT_CONFIG_FLAGS
get_transport_config_flag¶
bool native.aitransport.get_transport_config_flag(int transport_entity, int flag_id, bool p2)
_get_transport_usage_flags¶
int native.aitransport._get_transport_usage_flags(int transport_entity, ptr int flags)
_set_transport_usage_flags¶
void native.aitransport._set_transport_usage_flags(int transport_entity, int flags)
enum eTransportUsageFlags
{
TUF_INVALID = 0,
TUF_ALLOW_DRIVER_ME = (1 << 0),
TUF_ALLOW_DRIVER_GANG = (1 << 1),
TUF_ALLOW_DRIVER_CREW = (1 << 2),
TUF_ALLOW_DRIVER_FRIENDS = (1 << 3),
TUF_ALLOW_DRIVER_ANYONE = (1 << 4),
TUF_ALLOW_PASSENGER_ME = (1 << 5),
TUF_ALLOW_PASSENGER_GANG = (1 << 6),
TUF_ALLOW_PASSENGER_CREW = (1 << 7),
TUF_ALLOW_PASSENGER_FRIENDS = (1 << 8),
TUF_ALLOW_PASSENGER_ANYONE = (1 << 9),
TUF_ALLOW_ACCESS_AI = (1 << 10)
};
set_transport_accessible_seat_flags¶
void native.aitransport.set_transport_accessible_seat_flags(int transport_entity, int flags)
_0x4b6c9a43f7d9109b¶
void native.aitransport._0x4b6c9a43f7d9109b(int p0, int p1)
_is_ped_on_transport_entity¶
bool native.aitransport._is_ped_on_transport_entity(int ped, int transport_entity)
_is_ped_on_transport_seat¶
bool native.aitransport._is_ped_on_transport_seat(int ped, bool p1)
_is_transport_seat_occupied¶
bool native.aitransport._is_transport_seat_occupied(int transport_entity, int seat_index)
_is_transport_seat_free¶
bool native.aitransport._is_transport_seat_free(int transport_entity, int seat_index)
_get_ped_in_transport_seat¶
int native.aitransport._get_ped_in_transport_seat(int transport_entity, int seat_index)
is_ped_entering_transport¶
bool native.aitransport.is_ped_entering_transport(int ped, int transport_entity, bool p2)
is_ped_exiting_transport¶
bool native.aitransport.is_ped_exiting_transport(int ped, int transport_entity)
_0x4248ab2eeb3c75ad¶
void native.aitransport._0x4248ab2eeb3c75ad(int transport_entity, int ped, bool p2)
_set_ped_use_transport_seat_preference¶
void native.aitransport._set_ped_use_transport_seat_preference(int ped, int transport_entity, int preference_slot, int p3, int seat_index)
_0x5639fbea922788da¶
void native.aitransport._0x5639fbea922788da(int transport_entity)
_set_ai_can_use_transport¶
void native.aitransport._set_ai_can_use_transport(int transport_entity, bool state)
_0x8c8371edfaf014a0¶
void native.aitransport._0x8c8371edfaf014a0(int ped, float p1)
_0xf8c20282b237e3f7¶
void native.aitransport._0xf8c20282b237e3f7(int ped)
_set_transport_priority_seat¶
void native.aitransport._set_transport_priority_seat(int transport_entity, int seat_index)