network

Methods

network_is_signed_online

function native.network.network_is_signed_online(): bool

network_get_np_unavailable_reason

Hardcoded to return zero.

==== PS4 specific info ====

Returns some sort of unavailable reason: -1 = REASON_INVALID 0 = REASON_OTHER 1 = REASON_SYSTEM_UPDATE 2 = REASON_GAME_UPDATE 3 = REASON_SIGNED_OUT 4 = REASON_AGE 5 = REASON_CONNECTION

=================================

function native.network.network_get_np_unavailable_reason(): int

network_has_valid_ros_credentials

Returns whether the signed-in user has valid Rockstar Online Services (ROS) credentials.

function native.network.network_has_valid_ros_credentials(): bool

network_is_cloud_available

function native.network.network_is_cloud_available(): bool

network_has_social_club_account

function native.network.network_has_social_club_account(): bool

network_is_host

If you are host, returns true else returns false.

function native.network.network_is_host(): bool

network_have_online_privileges

function native.network.network_have_online_privileges(): bool

network_check_user_content_privileges

function native.network.network_check_user_content_privileges(p0: int): bool

network_check_communication_privileges

function native.network.network_check_communication_privileges(p0: int): bool

network_can_view_gamer_user_content

function native.network.network_can_view_gamer_user_content(gamer_handle: ptr int): bool

_0xf23a6d6c11d8ec15

function native.network._0xf23a6d6c11d8ec15(gamer_handle: ptr int): bool

_0x3e8cce6769db5f34

Stadia only; always returns -1 on other platforms. p0 may be a BOOL.

function native.network._0x3e8cce6769db5f34(p0: int): int

network_show_account_upgrade_ui

function native.network.network_show_account_upgrade_ui(): void

network_is_promotion_enabled

Hardcoded to return false.

function native.network.network_is_promotion_enabled(): bool

network_is_custom_upsell_enabled

Hardcoded to return false.

function native.network.network_is_custom_upsell_enabled(): bool

network_should_show_promotion_dlg

Hardcoded to return false.

function native.network.network_should_show_promotion_dlg(): bool

_0xfc6fcf4c03f1bbf6

nullsub, doesn't do anything

function native.network._0xfc6fcf4c03f1bbf6(): void

_0x160f0ce6d76a39c9

nullsub, doesn't do anything

function native.network._0x160f0ce6d76a39c9(): int

network_get_promotion_dlg_seen_count

Hardcoded to return zero.

function native.network.network_get_promotion_dlg_seen_count(): int

_0xe5ff65cff5160752

function native.network._0xe5ff65cff5160752(): void

network_can_access_multiplayer

function native.network.network_can_access_multiplayer(loading_state: ptr int): bool

network_check_access_and_alert_if_fail

function native.network.network_check_access_and_alert_if_fail(): bool

_network_get_global_entity_flags

function native.network._network_get_global_entity_flags(entity: int): int

_0xa95470da137587f5

function native.network._0xa95470da137587f5(p0: bool): void

_0xbb697756309d77ee

function native.network._0xbb697756309d77ee(p0: bool): int

_network_has_completed_mp_intro_flow_on_current_slot

function native.network._network_has_completed_mp_intro_flow_on_current_slot(): bool

network_set_completed_mp_intro_flow_on_current_slot

function native.network.network_set_completed_mp_intro_flow_on_current_slot(completed: bool): bool

_0xd7d0df27cb1765b5

function native.network._0xd7d0df27cb1765b5(p0: int): bool

network_set_mp_mission_flag_on_current_slot

function native.network.network_set_mp_mission_flag_on_current_slot(enabled: bool, flag_index: int): bool

_0x3e74a687a73979c6

function native.network._0x3e74a687a73979c6(p0: bool): void

network_session_is_private

Checks for session flag 'SF_PRIVATE'

function native.network.network_session_is_private(): bool

_network_session_get_session_id

Note: this native was added in build 1311.23

function native.network._network_session_get_session_id(session_id: ptr int): void

_network_session_are_session_ids_equal

Note: this native was added in build 1311.23

function native.network._network_session_are_session_ids_equal(session_id1: ptr int, session_id2: ptr int): bool

network_request_session_seamless

flags: enum eSessionRequestOptionFlags { SESSION_REQUEST_OPTION_FLAG_INCLUDE_GANG_MEMBERS = (1 << 1), SESSION_REQUEST_OPTION_FLAG_LEADER_KEEPS_GANG = (1 << 7), };

seamlessType: enum eSeamlessType { SEAMLESS_TYPE_NORMAL, SEAMLESS_TYPE_PVE, SEAMLESS_TYPE_DEV, SEAMLESS_TYPE_NO_SEAMLESS };

function native.network.network_request_session_seamless(flags: int, seamless_type: int, session_request_id: ptr int): bool

network_session_request_session_seamless

Equivalent to NETWORK_REQUEST_SESSION_SEAMLESS if userHash == 0. Otherwise it is equivalent to NETWORK_SESSION_REQUEST_SESSION_COMPETITIVE(flags, MATCHTYPE_SEAMLESS, userHash, 0, sessionRequestId);

p1 is unused

function native.network.network_session_request_session_seamless(flags: int, seamless_type: int, user_hash: int, session_request_id: ptr int): bool

network_session_request_session_competitive

matchType: enum eMatchType { MATCHTYPE_DEPRECATED, MATCHTYPE_UGCPLAYLIST, MATCHTYPE_UGCMISSION, MATCHTYPE_MINIGAME, MATCHTYPE_SEAMLESS, MATCHTYPE_PRIVATE_DO_NOT_USE };

function native.network.network_session_request_session_competitive(flags: int, match_type: int, user_hash: int, p3: int, session_request_id: ptr int): bool

network_session_request_session_private

Session flag 'SF_PRIVATE' is set internally p1 represents max amount of players in private session

function native.network.network_session_request_session_private(flags: int, num_players: int, user_hash: int, session_request_id: ptr int): bool

_network_session_request_session_on_call

category: enum eOnCallType { NETWORK_SESSION_REQUEST_ON_CALL_TYPE_STORY = 2, NETWORK_SESSION_REQUEST_ON_CALL_TYPE_MATCH = 3 };

function native.network._network_session_request_session_on_call(flags: int, category: int, p2: ptr int, user_hash: int, session_request_id: ptr int): bool

_network_session_request_session_nominated

function native.network._network_session_request_session_nominated(flags: int, user_hash: int, p2: int, session_request_id: ptr int): bool

network_session_is_session_request_id_valid

function native.network.network_session_is_session_request_id_valid(session_request_id: ptr int): bool

network_session_get_session_type

function native.network.network_session_get_session_type(): int

_0x1413b6bf27ab7a95

function native.network._0x1413b6bf27ab7a95(): int

network_session_is_any_request_in_progress

function native.network.network_session_is_any_request_in_progress(): bool

_0xafa14f98327791ce

function native.network._0xafa14f98327791ce(session_request_id: ptr int): bool

network_session_is_request_in_progress

function native.network.network_session_is_request_in_progress(session_request_id: ptr int): bool

_network_session_is_request_in_progress_by_queue_group

function native.network._network_session_is_request_in_progress_by_queue_group(queue_group: int): bool

_network_session_cancel_request

function native.network._network_session_cancel_request(session_request_id: ptr int): bool

_0xa6f1baabff6ad7b9

function native.network._0xa6f1baabff6ad7b9(p0: ptr int): void

_network_session_get_session_request_result

Returns result of session request: 0 - NOT_FOUND 1 - IN_PROGRESS 2 - TIMEOUT 3 - PLAYER_OFFLINE 4 - GANG_MEMBERS_CHANGED 5 - PLAYER_CANCELLED 6 - PLAYER_SET_TOO_LARGE 7 - MATCH_ACCEPTED 8 - OTHER

function native.network._network_session_get_session_request_result(session_request_id: ptr int, p1: ptr int): int

network_session_is_request_pending_transition

function native.network.network_session_is_request_pending_transition(session_request_id: ptr int): bool

_network_session_transition_to_session

function native.network._network_session_transition_to_session(session_request_id: ptr int): bool

_network_session_is_nsrr_success

function native.network._network_session_is_nsrr_success(session_request_id: ptr int): bool

network_session_left_queue_or_requested_session

function native.network.network_session_left_queue_or_requested_session(session_request_id: ptr int): bool

network_session_leave_session

function native.network.network_session_leave_session(): bool

network_session_is_transitioning

function native.network.network_session_is_transitioning(): bool

_0xfd4272a137703449

Only used in R* Script startup_clip

function native.network._0xfd4272a137703449(): void

_network_session_playlist_go_to_next_content

Only used in R* Script net_rolling_playlist

function native.network._network_session_playlist_go_to_next_content(): void

_network_session_playlist_get_upcoming_content

Only used in R* Script net_rolling_playlist

function native.network._network_session_playlist_get_upcoming_content(): void

network_disable_realtime_multiplayer

function native.network.network_disable_realtime_multiplayer(): void

_0x71fa2d1880c48032

Only used in R* Script fm_race_controller

function native.network._0x71fa2d1880c48032(p0: bool): void

network_get_global_multiplayer_clock

function native.network.network_get_global_multiplayer_clock(hours: ptr int, minutes: ptr int, seconds: ptr int): void

network_clear_clock_time_override

function native.network.network_clear_clock_time_override(): void

network_is_clock_time_overridden

function native.network.network_is_clock_time_overridden(): bool

network_get_global_clock

function native.network.network_get_global_clock(hour: ptr int, minute: ptr int, second: ptr int): bool

_network_clock_time_override

function native.network._network_clock_time_override(hour: int, minute: int, second: int, transition_time: int, pause_clock: bool): void

_network_clock_time_override_2

function native.network._network_clock_time_override_2(hour: int, minute: int, second: int, transition_time: int, pause_clock: bool, clockwise: bool): void

_network_clear_clock_override_overtime

function native.network._network_clear_clock_override_overtime(milliseconds: int): void

_0x0e54d4da6018ff8e

function native.network._0x0e54d4da6018ff8e(): bool

network_is_finding_gamers

function native.network.network_is_finding_gamers(): bool

network_did_find_gamers_succeed

function native.network.network_did_find_gamers_succeed(): bool

_0x7bca0a3972708436

function native.network._0x7bca0a3972708436(out_data: ptr int, p1: int): int

network_clear_found_gamers

function native.network.network_clear_found_gamers(): void

_network_get_gamer_session_from_handle

function native.network._network_get_gamer_session_from_handle(data: ptr int, count: int): bool

_network_has_current_get_gamer_status_started

function native.network._network_has_current_get_gamer_status_started(): bool

network_did_get_gamer_status_succeed

function native.network.network_did_get_gamer_status_succeed(): bool

_network_get_gamer_status

function native.network._network_get_gamer_status(gamer_handle: ptr int, p1: int): int

network_clear_get_gamer_status

function native.network.network_clear_get_gamer_status(): void

network_set_script_ready_for_events

function native.network.network_set_script_ready_for_events(toggle: bool): void

_0x316fd416c432c761

Note: this native was added in build 1311.23

function native.network._0x316fd416c432c761(): bool

_0x062842d61d0d53fd

Note: this native was added in build 1311.23

function native.network._0x062842d61d0d53fd(): bool

network_is_game_in_progress

function native.network.network_is_game_in_progress(): bool

network_is_session_active

function native.network.network_is_session_active(): bool

network_is_in_session

function native.network.network_is_in_session(): bool

_network_is_in_session_lobby

Hardcoded to return false.

function native.network._network_is_in_session_lobby(): bool

network_is_session_started

function native.network.network_is_session_started(): bool

network_can_session_end

function native.network.network_can_session_end(): bool

network_get_game_mode

function native.network.network_get_game_mode(): int

_network_session_add_session_flags

enum eSessionFlags { SESSION_FLAG_NONE = 0, SF_INSTANCE = (1 << 0), SF_MATCH = (1 << 1), SF_PRIVATE = (1 << 2), SF_BLOCK_INVITES = (1 << 3), SF_BLOCK_JOIN_VIA_PRESENCE = (1 << 4), SF_BLOCK_NON_HOST_INVITES = (1 << 5), SF_BLOCK_IN_PROGRESS_MATCHMAKING_BACKFILL = (1 << 6), SF_BLOCK_IN_GAMEPLAY_MATCHMAKING_BACKFILL = (1 << 7), SF_BLOCK_INVITES_TEMPORARY = (1 << 8), SF_IN_GAMEPLAY = (1 << 9), SF_COMPETITIVE = (1 << 10), SF_MATCHMAKING_BACKFILL_IS_BLOCKED = (1 << 11) };

function native.network._network_session_add_session_flags(flags: int): bool

network_session_remove_session_flags

See _NETWORK_SESSION_ADD_SESSION_FLAGS

function native.network.network_session_remove_session_flags(flags: int): bool

network_session_get_session_flags

function native.network.network_session_get_session_flags(): int

_network_session_set_player_flags

function native.network._network_session_set_player_flags(flags: int): bool

_network_session_remove_player_flags

function native.network._network_session_remove_player_flags(flags: int): bool

_network_get_session_host

function native.network._network_get_session_host(): int

_0xd3a3c8b9f3bdef81

function native.network._0xd3a3c8b9f3bdef81(): int

_0x18b94666cf610aeb

function native.network._0x18b94666cf610aeb(): bool

_0x981146e5c9ce9250

function native.network._0x981146e5c9ce9250(invite_index: int): bool

_0xbf8276e51761f9da

function native.network._0xbf8276e51761f9da(): int

_0xdca4a74135e1dea5

function native.network._0xdca4a74135e1dea5(p0: int): bool

network_has_pending_invite_failure

function native.network.network_has_pending_invite_failure(): bool

_network_can_receive_invite_from_handle

function native.network._network_can_receive_invite_from_handle(gamer_handle: ptr int): bool

_0x704f92b3af20d857

function native.network._0x704f92b3af20d857(setting: bool): void

_0xf342f6bd0a8287d5

function native.network._0xf342f6bd0a8287d5(p0: int): void

_0xd39a72ae5ebd57e5

function native.network._0xd39a72ae5ebd57e5(): void

_network_send_session_invite

function native.network._network_send_session_invite(gamer_handle: ptr int, content_id: string, data: ptr int, data_size: int, p4: int, flags: int): bool

_0xd1ffb246f4e088ac

function native.network._0xd1ffb246f4e088ac(p0: int): bool

_0x27b1ae4d8c652f08

function native.network._0x27b1ae4d8c652f08(p0: int): int

_0x6c27442a225a241a

function native.network._0x6c27442a225a241a(p0: int): int

_0xe59f4924bd3a718d

function native.network._0xe59f4924bd3a718d(p0: int): string

_0x78271bc02ae9af83

Note: this native was added in build 1436.31

function native.network._0x78271bc02ae9af83(p0: int): int

_0x16efb123c4451032

function native.network._0x16efb123c4451032(p0: int, gamer_handle: ptr int): bool

_0xe79ba3bc265895da

function native.network._0xe79ba3bc265895da(p0: int): string

_0xc0cffda87c2c163d

function native.network._0xc0cffda87c2c163d(p0: int, p1: int, p2: int): int

_0x5ed39da62beb1330

function native.network._0x5ed39da62beb1330(p0: int): int

network_accept_rs_invite

function native.network.network_accept_rs_invite(p0: int): bool

_0x3aa0cdc63696166d

function native.network._0x3aa0cdc63696166d(p0: int): bool

network_request_join

function native.network.network_request_join(p0: int): int

_0xe8e633215471bb5d

function native.network._0xe8e633215471bb5d(p0: int): int

_0xa2837a5e21fb5a58

function native.network._0xa2837a5e21fb5a58(p0: int): bool

_0xe39600e50d608693

function native.network._0xe39600e50d608693(p0: int, p1: int): bool

_0xd7bad4062074b9c1

function native.network._0xd7bad4062074b9c1(p0: int): bool

_0xca58d4fd20d70f24

function native.network._0xca58d4fd20d70f24(p0: int): int

_0xc028b3f52c707c49

function native.network._0xc028b3f52c707c49(p0: int): bool

network_is_platform_invite_pending

function native.network.network_is_platform_invite_pending(): bool

_0x5b9c6ac118fd4774

function native.network._0x5b9c6ac118fd4774(): void

_network_get_platform_invite_id

function native.network._network_get_platform_invite_id(): int

network_action_platform_invite

function native.network.network_action_platform_invite(): bool

network_clear_platform_invite

function native.network.network_clear_platform_invite(): void

_0x603469298a4308af

function native.network._0x603469298a4308af(p0: bool): void

_network_are_online_notifications_shown_in_story_mode

Returns value of fwuiCachedSetting "general.onlineNotificationsInStoryMode"

function native.network._network_are_online_notifications_shown_in_story_mode(): bool

network_is_in_platform_party

Hardcoded to return false.

function native.network.network_is_in_platform_party(): bool

_network_are_players_in_same_platform_party

function native.network._network_are_players_in_same_platform_party(gamer_handle1: ptr int, gamer_handle2: ptr int): bool

network_is_in_platform_party_chat

Hardcoded to return false.

function native.network.network_is_in_platform_party_chat(): bool

network_seed_random_number_generator

function native.network.network_seed_random_number_generator(seed: int): void

network_get_random_int_ranged

function native.network.network_get_random_int_ranged(range_start: int, range_end: int): int

network_set_this_script_is_network_script

function native.network.network_set_this_script_is_network_script(max_num_mission_participants: int, p1: bool, instance_id: int): void

network_get_this_script_is_network_script

function native.network.network_get_this_script_is_network_script(): bool

network_get_max_num_participants

Seems to always return 0, but it's used in quite a few loops.

for (num3 = 0; num3 < NETWORK::0xCCD8C02D(); num3++) { if (NETWORK::NETWORK_IS_PARTICIPANT_ACTIVE(PLAYER::0x98F3B274(num3)) != 0) { var num5 = NETWORK::NETWORK_GET_PLAYER_INDEX(PLAYER::0x98F3B274(num3));

function native.network.network_get_max_num_participants(): int

network_get_num_participants

function native.network.network_get_num_participants(): int

network_get_script_status

function native.network.network_get_script_status(): int

network_register_host_broadcast_variables

function native.network.network_register_host_broadcast_variables(p0: int, p1: int, p2: int): void

_network_get_size_of_host_broadcast_data_storage

function native.network._network_get_size_of_host_broadcast_data_storage(p0: ptr int): int

network_register_player_broadcast_variables

function native.network.network_register_player_broadcast_variables(p0: int, p1: int, p2: int): void

_network_get_size_of_player_broadcast_data_storage

function native.network._network_get_size_of_player_broadcast_data_storage(p0: ptr int): int

network_has_received_host_broadcast_data

function native.network.network_has_received_host_broadcast_data(): bool

network_get_player_index

function native.network.network_get_player_index(player: int): int

network_get_participant_index

function native.network.network_get_participant_index(index: int): int

network_get_player_index_from_ped

Returns the Player associated to a given Ped when in an online session.

function native.network.network_get_player_index_from_ped(ped: int): int

network_get_num_connected_players

Returns the amount of players connected in the current session. Only works when connected to a session/server.

function native.network.network_get_num_connected_players(): int

network_is_player_connected

function native.network.network_is_player_connected(player: int): bool

network_get_total_num_players

function native.network.network_get_total_num_players(): int

network_is_participant_active

function native.network.network_is_participant_active(p0: int): bool

network_is_player_active

function native.network.network_is_player_active(player: int): bool

network_is_player_a_participant

function native.network.network_is_player_a_participant(player: int): bool

network_is_host_of_this_script

function native.network.network_is_host_of_this_script(): bool

network_get_host_of_this_script

function native.network.network_get_host_of_this_script(): int

network_get_host_of_script

function native.network.network_get_host_of_script(script_name: string, p1: int, p2: int): int

network_get_host_of_thread

function native.network.network_get_host_of_thread(thread_id: int): int

network_set_mission_finished

function native.network.network_set_mission_finished(): void

network_is_script_active

function native.network.network_is_script_active(script_name: string, p1: int, p2: bool, p3: int): bool

network_is_script_active_by_hash

function native.network.network_is_script_active_by_hash(script_hash: int, p1: int, p2: bool, p3: int): bool

_network_is_thread_active

function native.network._network_is_thread_active(thread_id: int): bool

_network_get_instance_id_of_thread

function native.network._network_get_instance_id_of_thread(thread_id: int): int

network_get_num_script_participants

function native.network.network_get_num_script_participants(script_name: string, instance_id: int, position: int): int

network_get_instance_id_of_this_script

function native.network.network_get_instance_id_of_this_script(): int

network_is_player_a_participant_on_script

function native.network.network_is_player_a_participant_on_script(p0: int, p1: ptr int, p2: int): bool

network_prevent_script_host_migration

function native.network.network_prevent_script_host_migration(): void

network_is_feature_supported

function native.network.network_is_feature_supported(feature_id: int): bool

participant_id

Return the local Participant ID

function native.network.participant_id(): int

participant_id_to_int

Return the local Participant ID.

This native is exactly the same as 'PARTICIPANT_ID' native.

function native.network.participant_id_to_int(): int

network_get_destroyer_of_network_id

function native.network.network_get_destroyer_of_network_id(net_id: int, weapon_hash: ptr int): int

_0x6cf82a7f65a5ad5f

_NETWORK_GET_A* - _NETWORK_GET_D*

function native.network._0x6cf82a7f65a5ad5f(ped: int, p1: ptr int): int

_0x236321f1178a5446

_NETWORK_GET_A* - _NETWORK_GET_D*

function native.network._0x236321f1178a5446(player: int, ped: int, p2: ptr int): bool

network_get_assisted_damage_of_entity

function native.network.network_get_assisted_damage_of_entity(player: int, entity: int, p2: ptr int): bool

network_get_entity_killer_of_player

function native.network.network_get_entity_killer_of_player(player: int, weapon_hash: ptr int): int

network_resurrect_local_player

function native.network.network_resurrect_local_player(x: float, y: float, z: float, heading: float, p4: int, p5: bool, p6: int, p7: bool): void

_network_resurrect_local_player_2

function native.network._network_resurrect_local_player_2(args: ptr int): void

network_set_local_player_invincible_time

function native.network.network_set_local_player_invincible_time(time: int): void

network_set_local_player_sync_look_at

function native.network.network_set_local_player_sync_look_at(toggle: bool): void

network_has_entity_been_registered_with_this_thread

function native.network.network_has_entity_been_registered_with_this_thread(entity: int): bool

network_get_network_id_from_entity

function native.network.network_get_network_id_from_entity(entity: int): int

network_get_entity_from_network_id

function native.network.network_get_entity_from_network_id(net_id: int): int

network_get_entity_is_networked

function native.network.network_get_entity_is_networked(entity: int): bool

network_register_entity_as_networked

function native.network.network_register_entity_as_networked(entity: int): void

network_does_network_id_exist

function native.network.network_does_network_id_exist(net_id: int): bool

_0x950acd8f05b7b9df

Related to container entity (RANSACK_ATTACHED_LOCKBOX / RANSACK_ATTACHED_CHEST)

function native.network._0x950acd8f05b7b9df(p0: int): int

network_request_control_of_network_id

function native.network.network_request_control_of_network_id(net_id: int): bool

network_has_control_of_network_id

function native.network.network_has_control_of_network_id(net_id: int): bool

network_request_control_of_entity

function native.network.network_request_control_of_entity(entity: int): bool

_network_request_control_of_anim_scene

function native.network._network_request_control_of_anim_scene(anim_scene: int): bool

network_request_control_of_pickup_placement

function native.network.network_request_control_of_pickup_placement(p0: int): bool

network_has_control_of_entity

function native.network.network_has_control_of_entity(entity: int): bool

network_has_control_of_pickup

function native.network.network_has_control_of_pickup(pickup: int): bool

_network_has_control_of_anim_scene

function native.network._network_has_control_of_anim_scene(anim_scene: int): bool

network_has_control_of_pickup_placement

function native.network.network_has_control_of_pickup_placement(p0: int): bool

_0xf260af6f43953316

Same Native Handler as VEH_TO_NET, PED_TO_NET, OBJ_TO_NET and NETWORK_GET_NETWORK_ID_FROM_ENTITY

function native.network._0xf260af6f43953316(handle: int): int

veh_to_net

Returns the network ID of the given vehicle.

function native.network.veh_to_net(vehicle: int): int

ped_to_net

Returns the network ID of the given ped.

function native.network.ped_to_net(ped: int): int

obj_to_net

Returns the network ID of the given object.

function native.network.obj_to_net(object: int): int

_anim_scene_to_net

function native.network._anim_scene_to_net(anim_scene: int): int

net_to_veh

function native.network.net_to_veh(net_handle: int): int

net_to_ped

gets the ped id of a network id

function native.network.net_to_ped(net_handle: int): int

net_to_obj

gets the object id of a network id

function native.network.net_to_obj(net_handle: int): int

net_to_ent

gets the entity id of a network id

function native.network.net_to_ent(net_handle: int): int

_net_to_anim_scene

function native.network._net_to_anim_scene(net_id: int): int

_propset_to_net

function native.network._propset_to_net(prop_set: int): int

_net_to_propset

function native.network._net_to_propset(net_id: int): int

_0x0cc28c08613ba9e5

nullsub, doesn't do anything

function native.network._0x0cc28c08613ba9e5(p0: int): void

network_get_local_handle

function native.network.network_get_local_handle(gamer_handle: ptr int): void

network_handle_from_player

function native.network.network_handle_from_player(player: int, gamer_handle: ptr int): void

network_hash_from_player_handle

function native.network.network_hash_from_player_handle(player: int): int

network_handle_from_friend

function native.network.network_handle_from_friend(friend_index: int, gamer_handle: ptr int): void

network_get_gamertag_from_handle

Always returns a null string.

function native.network.network_get_gamertag_from_handle(gamer_handle: ptr int): string

network_displaynames_from_handles_start

Hardcoded to return -1.

function native.network.network_displaynames_from_handles_start(p0: ptr int, p1: int): int

network_get_displaynames_from_handles

Hardcoded to return zero.

function native.network.network_get_displaynames_from_handles(p0: int, p1: int, p2: int): int

_network_get_display_name_from_handle

Example:

char displayName64; if (_NETWORK_GET_DISPLAY_NAME_FROM_HANDLE(handle, displayName)) { // use displayName }

function native.network._network_get_display_name_from_handle(gamer_handle: ptr int, display_name: string): bool

network_are_handles_the_same

function native.network.network_are_handles_the_same(gamer_handle1: ptr int, gamer_handle2: ptr int): bool

network_is_handle_valid

function native.network.network_is_handle_valid(gamer_handle: ptr int): bool

network_get_player_from_gamer_handle

function native.network.network_get_player_from_gamer_handle(gamer_handle: ptr int): int

network_is_gamer_in_my_session

function native.network.network_is_gamer_in_my_session(gamer_handle: ptr int): bool

network_show_profile_ui

function native.network.network_show_profile_ui(gamer_handle: ptr int): void

_0x5759160ac17c13ce

function native.network._0x5759160ac17c13ce(gamer_handle: ptr int, message: string): void

_0xf302ab9d978352ee

Returns the entity's network ID.

function native.network._0xf302ab9d978352ee(entity: int): int

_0x4538ee7c321590bc

Returns the entity associated with the given network ID.

function native.network._0x4538ee7c321590bc(network_id: int): int

_0xa47d48d06aa5a188

function native.network._0xa47d48d06aa5a188(): bool

network_get_total_num_friends

function native.network.network_get_total_num_friends(): int

_0xa94ece191d90637a

function native.network._0xa94ece191d90637a(): int

_0x5cb8b0c846d0f30b

function native.network._0x5cb8b0c846d0f30b(p0: int): void

_0xff36f36b07e69059

function native.network._0xff36f36b07e69059(p0: int): void

_network_get_current_friend_page_data

function native.network._network_get_current_friend_page_data(p0: ptr int): bool

_0xb389289f031f059a

function native.network._0xb389289f031f059a(): int

network_can_refresh_friend_page

function native.network.network_can_refresh_friend_page(): bool

network_refresh_current_friend_page

function native.network.network_refresh_current_friend_page(): bool

_0xda1bfed8582f61f0

function native.network._0xda1bfed8582f61f0(): bool

_0x232e1eb23cdb313c

function native.network._0x232e1eb23cdb313c(): bool

_0x3e4a16bc669e71b3

function native.network._0x3e4a16bc669e71b3(): bool

_network_is_friend_handle_online

function native.network._network_is_friend_handle_online(gamer_handle: ptr int): bool

_network_is_friend_handle_in_same_title

function native.network._network_is_friend_handle_in_same_title(gamer_handle: ptr int): bool

_network_get_gamertag_from_friend

function native.network._network_get_gamertag_from_friend(gamer_handle: ptr int): string

network_is_friend

function native.network.network_is_friend(gamer_handle: ptr int): bool

network_is_pending_friend

Hardcoded to return false.

function native.network.network_is_pending_friend(gamer_handle: ptr int): bool

network_add_friend

function native.network.network_add_friend(gamer_handle: ptr int, message: string): bool

_network_remove_friend

function native.network._network_remove_friend(gamer_handle: ptr int): bool

_network_can_add_friend

On PC this returns true if gamerHandle is a valid handle.

function native.network._network_can_add_friend(gamer_handle: ptr int): bool

network_set_player_is_passive

Old name: _NETWORK_SET_PASSIVE_MODE_OPTION

function native.network.network_set_player_is_passive(toggle: bool): void

network_set_friendly_fire_option

function native.network.network_set_friendly_fire_option(toggle: bool): void

network_set_rich_presence

function native.network.network_set_rich_presence(p0: int, p1: ptr int, p2: int, p3: int): void

network_get_timeout_time

function native.network.network_get_timeout_time(): int

_0xbc7d36946d19e60e

Only used in fm_race_controller R* Script (PROCESS_LOCAL_PLAYER_INIT)

function native.network._0xbc7d36946d19e60e(p0: bool): void

_0x880a7202301e282b

Params: p5 = 50.f, p6 = 0 in R* Script net_fetch (NET_FETCH_CLIENT_UPDATE_PED_ROLE_CLUE_IDLE)

function native.network._0x880a7202301e282b(p0: ptr int, p1: ptr int, x: float, y: float, z: float, p5: float, p6: int): bool

_0xc964fcd3d1720697

nullsub, doesn't do anything

function native.network._0xc964fcd3d1720697(): int

_0xec089f84a9c16c62

nullsub, doesn't do anything

function native.network._0xec089f84a9c16c62(): int

prevent_network_id_migration

function native.network.prevent_network_id_migration(net_id: int): void

keep_network_id_in_fast_instance

function native.network.keep_network_id_in_fast_instance(net_id: int, p1: bool, p2: int): void

_0x02c4c6c2900d84df

Only used in SP R* Script dominoes_sp: p1 = 0

function native.network._0x02c4c6c2900d84df(player: int, p1: int): void

_0xd78a26024bb13e08

function native.network._0xd78a26024bb13e08(player: int): void

set_network_id_exists_on_all_machines

function native.network.set_network_id_exists_on_all_machines(net_id: int, toggle: bool): void

set_network_id_always_exists_for_player

function native.network.set_network_id_always_exists_for_player(net_id: int, player: int, toggle: bool): void

set_network_id_stop_cloning

function native.network.set_network_id_stop_cloning(network_id: int, b_stop_cloning: bool): void

network_set_entity_remains_when_unnetworked

function native.network.network_set_entity_remains_when_unnetworked(entity: int, toggle: bool): void

network_set_entity_only_exists_for_participants

if set to true other network players can't see it if set to false other network player can see it

^^ I attempted this by grabbing an object with GET_ENTITY_PLAYER_IS_FREE_AIMING_AT and setting this naive no matter the toggle he could still see it.

pc or last gen?

^^ last-gen

Old name: _NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK

function native.network.network_set_entity_only_exists_for_participants(entity: int, toggle: bool): void

_0xe31a04513237dc89

function native.network._0xe31a04513237dc89(entity: int): void

set_network_id_visible_in_cutscene

function native.network.set_network_id_visible_in_cutscene(p0: int, p1: int, p2: int, p3: int): void

is_network_id_owned_by_participant

function native.network.is_network_id_owned_by_participant(net_id: int): bool

_network_get_player_owner_of_network_id

function native.network._network_get_player_owner_of_network_id(net_id: int): int

set_local_player_visible_in_cutscene

function native.network.set_local_player_visible_in_cutscene(local: bool, remote: bool, instance_id: int): void

prevent_migration_of_entities_in_fast_instance_for_local_player

function native.network.prevent_migration_of_entities_in_fast_instance_for_local_player(toggle: bool): void

set_local_player_invisible_locally

function native.network.set_local_player_invisible_locally(p0: bool): void

set_player_invisible_locally

function native.network.set_player_invisible_locally(player: int, toggle: bool): void

set_player_visible_locally

function native.network.set_player_visible_locally(player: int, toggle: bool): void

set_entity_visible_in_cutscene

function native.network.set_entity_visible_in_cutscene(entity: int, p1: bool, p2: bool, p3: int): void

_set_door_networked

function native.network._set_door_networked(door_hash: int): void

_set_door_unnetworked

function native.network._set_door_unnetworked(p0: int, toggle: bool): void

is_damage_tracker_active_on_network_id

function native.network.is_damage_tracker_active_on_network_id(net_id: int): bool

activate_damage_tracker_on_network_id

function native.network.activate_damage_tracker_on_network_id(net_id: int, toggle: bool): void

is_sphere_visible_to_another_machine

function native.network.is_sphere_visible_to_another_machine(p0: int, p1: int, p2: int, p3: int, p4: int): bool

is_sphere_visible_to_player

function native.network.is_sphere_visible_to_player(p0: int, p1: int, p2: int, p3: int, p4: int, p5: int): bool

_0xd42c543f73233041

function native.network._0xd42c543f73233041(p0: bool): void

reserve_network_mission_objects

function native.network.reserve_network_mission_objects(amount: int): void

reserve_network_client_mission_objects

function native.network.reserve_network_client_mission_objects(amount: int): void

reserve_network_mission_peds

function native.network.reserve_network_mission_peds(amount: int): void

reserve_network_client_mission_peds

function native.network.reserve_network_client_mission_peds(amount: int): void

reserve_network_mission_vehicles

function native.network.reserve_network_mission_vehicles(amount: int): void

reserve_network_mission_pickups

function native.network.reserve_network_mission_pickups(amount: int): void

can_register_mission_objects

function native.network.can_register_mission_objects(amount: int): bool

can_register_mission_peds

function native.network.can_register_mission_peds(amount: int): bool

can_register_mission_vehicles

function native.network.can_register_mission_vehicles(amount: int): bool

can_register_mission_pickups

function native.network.can_register_mission_pickups(amount: int): bool

can_register_mission_entities

function native.network.can_register_mission_entities(ped_amt: int, vehicle_amt: int, object_amt: int, pickup_amt: int): bool

get_num_reserved_mission_objects

p0 appears to be for MP

function native.network.get_num_reserved_mission_objects(p0: bool): int

get_num_reserved_mission_peds

p0 appears to be for MP

function native.network.get_num_reserved_mission_peds(p0: bool): int

get_num_reserved_mission_vehicles

p0 appears to be for MP

function native.network.get_num_reserved_mission_vehicles(p0: bool): int

_get_num_reserved_mission_pickups

function native.network._get_num_reserved_mission_pickups(p0: bool): int

get_num_created_mission_objects

function native.network.get_num_created_mission_objects(p0: bool): int

get_num_created_mission_peds

function native.network.get_num_created_mission_peds(p0: bool): int

get_num_created_mission_vehicles

function native.network.get_num_created_mission_vehicles(p0: bool): int

_get_num_created_mission_pickups

function native.network._get_num_created_mission_pickups(p0: bool): int

_get_reserved_mission_entities_for_thread

Only used in R* Script net_stable_manager

function native.network._get_reserved_mission_entities_for_thread(thread_id: int, ped_max: ptr int, vehicle_max: ptr int, unk_max: ptr int, ped_min: ptr int, vehicle_min: ptr int, unk_min: ptr int): void

get_reserved_mission_entities_in_area

Used in Script Function NET_ACE_CLIENT_VERIFY_ENTITY_RESERVATIONS Coords: Slot world position

Old name: _GET_RESERVATIONS_FOR_SLOT_WORLD_POSITION

function native.network.get_reserved_mission_entities_in_area(x: float, y: float, z: float, p3: bool, peds: ptr int, vehicles: ptr int, objects: ptr int, pickups: ptr int): void

_0x5f328fc909f0e0ff

Note: this native was added in build 1311.23

function native.network._0x5f328fc909f0e0ff(p0: int, p1: int, p2: int, p3: int): bool

get_max_num_network_objects

Always returns 60

function native.network.get_max_num_network_objects(): int

get_max_num_network_peds

Always returns 110

function native.network.get_max_num_network_peds(): int

get_max_num_network_vehicles

Always returns 40

function native.network.get_max_num_network_vehicles(): int

get_max_num_network_pickups

Always returns 80

function native.network.get_max_num_network_pickups(): int

_0x75fc34a2ba345bd1

function native.network._0x75fc34a2ba345bd1(entity: int, player: int, p2: ptr int): bool

_0x979765465a6f25fc

Must be called from a background script, otherwise it will do nothing.

function native.network._0x979765465a6f25fc(entity: int, p1: bool): void

_0x5133cf81924f1129

Hardcoded to return zero.

function native.network._0x5133cf81924f1129(): int

_0x1e4e097d71d449fb

Note: this native was added in build 1311.23

function native.network._0x1e4e097d71d449fb(p0: bool): int

_0x982d7ad755b8f62c

Note: this native was added in build 1311.23

function native.network._0x982d7ad755b8f62c(p0: bool): int

_0x917ad74bdcf8b6e9

Note: this native was added in build 1311.23

function native.network._0x917ad74bdcf8b6e9(p0: bool): int

_0xf8dc69dc1ad19072

Note: this native was added in build 1311.23

function native.network._0xf8dc69dc1ad19072(p0: bool): int

_0x744bfbb0ca908161

Note: this native was added in build 1311.23

function native.network._0x744bfbb0ca908161(p0: bool): int

_0x106cbdd5077dede1

Note: this native was added in build 1311.23

function native.network._0x106cbdd5077dede1(p0: bool): int

_0xbaf7e2979442b29f

Note: this native was added in build 1311.23

function native.network._0xbaf7e2979442b29f(p0: bool): int

_0x039b692b3318fab6

Note: this native was added in build 1311.23

function native.network._0x039b692b3318fab6(p0: bool): int

_0x4835413ea6f9c9cd

Note: this native was added in build 1311.23

function native.network._0x4835413ea6f9c9cd(p0: bool): int

get_network_time

function native.network.get_network_time(): int

get_network_time_accurate

function native.network.get_network_time_accurate(): int

has_network_time_started

function native.network.has_network_time_started(): bool

get_time_offset

Adds the first argument to the second.

function native.network.get_time_offset(time_a: int, time_b: int): int

is_time_less_than

Subtracts the second argument from the first, then returns whether the result is negative.

function native.network.is_time_less_than(time_a: int, time_b: int): bool

is_time_more_than

Subtracts the first argument from the second, then returns whether the result is negative.

function native.network.is_time_more_than(time_a: int, time_b: int): bool

get_time_difference

Subtracts the second argument from the first.

function native.network.get_time_difference(time_a: int, time_b: int): int

get_cloud_time_as_int

function native.network.get_cloud_time_as_int(): int

convert_posix_time

Takes the specified time and writes it to the structure specified in the second argument.

struct date_time { int year; int PADDING1; int month; int PADDING2; int day; int PADDING3; int hour; int PADDING4; int minute; int PADDING5; int second; int PADDING6; };

function native.network.convert_posix_time(posix_time: int, time_structure: ptr int): void

network_set_in_spectator_mode

function native.network.network_set_in_spectator_mode(toggle: bool, player_ped: int): void

_network_set_in_static_spectator_mode

function native.network._network_set_in_static_spectator_mode(toggle: bool, x: float, y: float, z: float): void

network_is_in_spectator_mode

function native.network.network_is_in_spectator_mode(): bool

_network_is_player_in_spectator_mode

function native.network._network_is_player_in_spectator_mode(player: int): bool

network_set_in_mp_cutscene

function native.network.network_set_in_mp_cutscene(p0: bool, p1: bool, p2: int, p3: bool): void

network_is_in_mp_cutscene

function native.network.network_is_in_mp_cutscene(): bool

network_is_player_in_mp_cutscene

Note: scripts seem to indicate that this was renamed to NETWORK_IS_PLAYER_IN_MP_FAST_INSTANCE

function native.network.network_is_player_in_mp_cutscene(player: int): bool

_0x34bc1e79546ba543

_NETWORK_A* - _NETWORK_C*

function native.network._0x34bc1e79546ba543(p0: bool): void

_set_network_respot_timer

function native.network._set_network_respot_timer(entity: int, timer: int, p2: bool): void

_0x26a867c0b7a456d1

GET_LAUNCH_PARAM(RESPOT?)* Name is probably invalid since this native only reads data from parsed entity.

function native.network._0x26a867c0b7a456d1(entity: int): bool

set_local_player_as_ghost

Old name: _SET_LOCAL_PLAYER_AS_GHOST

function native.network.set_local_player_as_ghost(toggle: bool): void

is_entity_a_ghost

Old name: _IS_ENTITY_GHOSTED_TO_LOCAL_PLAYER

function native.network.is_entity_a_ghost(entity: int): bool

_set_player_visibility_to_local_player_disabled

_SET_PLAYER_V* - _SET_S*

function native.network._set_player_visibility_to_local_player_disabled(player: int, disabled: bool): void

_set_entity_ghosted_to_local_player

function native.network._set_entity_ghosted_to_local_player(entity: int, toggle: bool): void

is_object_reassignment_in_progress

Note: this native was added in build 1311.16

function native.network.is_object_reassignment_in_progress(): bool

_0x039ad6b57d5179ff

Note: this native was added in build 1311.23

function native.network._0x039ad6b57d5179ff(): int

_0x02b3cdd652b3cdd6

Note: this native was added in build 1311.16

GET_NUM_*

function native.network._0x02b3cdd652b3cdd6(): int

_get_num_peer_negotiation_responses

Note: this native was added in build 1311.16

function native.network._get_num_peer_negotiation_responses(): int

_network_debug_request_entity_position

Must be called from a background script, otherwise it will do nothing.

function native.network._network_debug_request_entity_position(p0: ptr int): void

network_get_network_id_from_rope_id

function native.network.network_get_network_id_from_rope_id(rope_id: int): int

network_get_rope_id_from_network_id

function native.network.network_get_rope_id_from_network_id(net_id: int): int

_network_spawn_config_add_spawn_point

function native.network._network_spawn_config_add_spawn_point(x: float, y: float, z: float, heading: float): void

_0xa63e4f050f20021f

function native.network._0xa63e4f050f20021f(): void

_network_spawn_config_add_exclusion_volume

function native.network._network_spawn_config_add_exclusion_volume(volume: int): void

_network_spawn_config_remove_exclusion_volume

function native.network._network_spawn_config_remove_exclusion_volume(volume: int): void

_0x0bf90cbb6b72977b

function native.network._0x0bf90cbb6b72977b(): void

_0x7b3ff2d193628126

function native.network._0x7b3ff2d193628126(player: int): void

_0x19b52c20b5c4757c

function native.network._0x19b52c20b5c4757c(): void

network_spawn_config_set_flags

function native.network.network_spawn_config_set_flags(flags: int): void

_0x6cee2e30021daec6

NETWORK_SPAWN_CONFIG*

function native.network._0x6cee2e30021daec6(): void

_network_spawn_config_add_property_scripted

function native.network._network_spawn_config_add_property_scripted(config_property: int, include: bool): void

_0xb131e686bd97b3f8

function native.network._0xb131e686bd97b3f8(): void

_network_spawn_config_add_property_preference

function native.network._network_spawn_config_add_property_preference(config_property: int, include: bool, weight: float): void

_0x405ddefb1f531b18

function native.network._0x405ddefb1f531b18(volume: int, p1: bool, p2: int, p3: int): void

_0x43cf999205084b4b

function native.network._0x43cf999205084b4b(): void

_0x13f592fc3bf0ea84

function native.network._0x13f592fc3bf0ea84(volume: int, p1: bool, original_weight: float, p3: int, p4: int): void

_0xcf23ab5bd47b384d

function native.network._0xcf23ab5bd47b384d(p0: int): void

_0xe5634491a58c2703

function native.network._0xe5634491a58c2703(p0: float): void

network_spawn_config_set_ground_to_root_offset

function native.network.network_spawn_config_set_ground_to_root_offset(offset: float): void

_network_spawn_config_set_level_water_depth

function native.network._network_spawn_config_set_level_water_depth(water_depth_level: int): void

network_spawn_config_set_tuning_float

function native.network.network_spawn_config_set_tuning_float(p0: int, p1: float): void

_0x5d3c528b7a7df836

NETWORK_SPAWN_CONFIG*

function native.network._0x5d3c528b7a7df836(nsctf: int): void

_0x2686bd9566b65eda

function native.network._0x2686bd9566b65eda(x: float, y: float, z: float): void

_0xbb1ec8c2eef33baa

function native.network._0xbb1ec8c2eef33baa(entity: int): void

_0x67ccdf74c4df7169

function native.network._0x67ccdf74c4df7169(): bool

_0xc8b6d18e22484643

function native.network._0xc8b6d18e22484643(): void

_0x97bce4c4b3191228

function native.network._0x97bce4c4b3191228(): void

_0x41452e8a3b9c0c4b

function native.network._0x41452e8a3b9c0c4b(): int

_network_spawn_config_search_in_progress

function native.network._network_spawn_config_search_in_progress(): bool

_0x61bfbaa795e712ad

function native.network._0x61bfbaa795e712ad(): void
function native.network._network_spawn_config_set_cancel_search(): void

_0x691e4de5309eaefc

function native.network._0x691e4de5309eaefc(p0: int, p1: ptr int): void

network_start_solo_tutorial_session

function native.network.network_start_solo_tutorial_session(): void

network_end_tutorial_session

function native.network.network_end_tutorial_session(): void

network_is_in_tutorial_session

function native.network.network_is_in_tutorial_session(): bool

network_is_tutorial_session_change_pending

function native.network.network_is_tutorial_session_change_pending(): bool

network_are_players_in_same_tutorial_session

Old name: _NETWORK_IS_PLAYER_EQUAL_TO_INDEX

function native.network.network_are_players_in_same_tutorial_session(player: int, index: int): bool

network_allow_all_entity_fading_for_instances

function native.network.network_allow_all_entity_fading_for_instances(toggle: bool): void

network_allow_entity_fading_for_instances

function native.network.network_allow_entity_fading_for_instances(entity: int, toggle: bool): void

_0xdc6ad5c046f33ab4

function native.network._0xdc6ad5c046f33ab4(p0: bool, p1: bool): void

_0x6c7e04e9de451789

function native.network._0x6c7e04e9de451789(): void

network_set_local_player_pending_fast_instance_id

function native.network.network_set_local_player_pending_fast_instance_id(instance_id: int): void

_network_get_player_fast_instance_id

function native.network._network_get_player_fast_instance_id(player: int): int

network_conceal_player

function native.network.network_conceal_player(player: int, toggle: bool): void

network_is_player_concealed

function native.network.network_is_player_concealed(player: int): bool

_0x40fedb13870042f1

Note: this native was added in build 1355.30

function native.network._0x40fedb13870042f1(): void

_0x422f9d6d6c7bc290

Note: this native was added in build 1355.30

function native.network._0x422f9d6d6c7bc290(p0: int): void

network_request_cloud_tunables

Note: this native was added in build 1311.23, but was only used after build 1436.25

function native.network.network_request_cloud_tunables(): void

network_is_tunable_cloud_request_pending

function native.network.network_is_tunable_cloud_request_pending(): bool

network_get_tunable_cloud_crc

function native.network.network_get_tunable_cloud_crc(): int

network_does_tunable_exist

function native.network.network_does_tunable_exist(tunable_context: int, tunable_name: int): bool

network_access_tunable_int

function native.network.network_access_tunable_int(tunable_context: int, tunable_name: int, value: ptr int): bool

network_access_tunable_bool

function native.network.network_access_tunable_bool(tunable_context: int, tunable_name: int): bool

network_try_access_tunable_int_hash

function native.network.network_try_access_tunable_int_hash(tunable_context: int, tunable_name: int, default_value: int): int

network_try_access_tunable_float_hash

function native.network.network_try_access_tunable_float_hash(tunable_context: int, tunable_name: int, default_value: float): float

network_try_access_tunable_bool_hash

function native.network.network_try_access_tunable_bool_hash(tunable_context: int, tunable_name: int, default_value: bool): bool

_0x894b5ecab45d2342

function native.network._0x894b5ecab45d2342(net_handle: int, p1: int): void

network_disable_proximity_migration

function native.network.network_disable_proximity_migration(net_id: int): void

_commerce_store_is_open

function native.network._commerce_store_is_open(): bool

_commerce_store_is_enabled

function native.network._commerce_store_is_enabled(): bool

cloud_has_request_completed

function native.network.cloud_has_request_completed(id: int): bool

cloud_did_request_succeed

function native.network.cloud_did_request_succeed(id: int): bool

_get_launch_param_exists

function native.network._get_launch_param_exists(param_name: string): bool

get_launch_param_value

function native.network.get_launch_param_value(param_name: string): string

_set_launch_param_value

function native.network._set_launch_param_value(param_name: string, value: string): void

_clear_launch_param

function native.network._clear_launch_param(param_name: string): void

_get_launch_param_string

function native.network._get_launch_param_string(): string

_set_launch_param_string

function native.network._set_launch_param_string(params: string): void

clear_service_event_arguments

Old name: _CLEAR_LAUNCH_PARAMS

function native.network.clear_service_event_arguments(): void

ugc_is_request_pending

function native.network.ugc_is_request_pending(ugc_request_id: int): bool

ugc_has_request_finished

function native.network.ugc_has_request_finished(ugc_request_id: int): bool

ugc_did_request_succeed

function native.network.ugc_did_request_succeed(ugc_request_id: int): bool

_0xcd53e6cbf609c012

function native.network._0xcd53e6cbf609c012(ugc_request_id: int): bool

_ugc_query_by_content_type

Returns ugcRequestId

function native.network._ugc_query_by_content_type(p0: int, max_get: int, content_type_name: string, p3: int, p4: int, p5: int): int

_ugc_query_by_category

Returns ugcRequestId

function native.network._ugc_query_by_category(category_type: int, p1: int, max_get: int, content_type_name: string, p4: int, p5: bool): int

_ugc_query_by_content_id

Returns ugcRequestId

function native.network._ugc_query_by_content_id(content_id: string, latest_version: bool, content_type_name: string): int

_ugc_is_book_marked

function native.network._ugc_is_book_marked(content_id: string): bool

ugc_clear_query_results

function native.network.ugc_clear_query_results(ugc_request_id: int): void

ugc_query_was_force_cancelled

function native.network.ugc_query_was_force_cancelled(ugc_request_id: int): bool

ugc_query_get_content_num

function native.network.ugc_query_get_content_num(ugc_request_id: int): int

_ugc_query_get_creator_handle

function native.network._ugc_query_get_creator_handle(p0: int, index: int, gamer_handle: ptr int): int

_ugc_query_get_owner_id

function native.network._ugc_query_get_owner_id(p0: int, index: int): string

_ugc_query_get_name

function native.network._ugc_query_get_name(p0: int, index: int): string

_ugc_query_get_root_content_id

function native.network._ugc_query_get_root_content_id(p0: int, index: int): string

_ugc_query_get_playlist_name

function native.network._ugc_query_get_playlist_name(p0: int, index: int): string

_ugc_query_get_mission_desc_hash

function native.network._ugc_query_get_mission_desc_hash(p0: int, index: int): int

_ugc_query_get_creator_photo

Returns string for GET_STATUS_OF_LOAD_MISSION_CREATOR_PHOTO

function native.network._ugc_query_get_creator_photo(p0: int, p1: int, p2: int): string

_ugc_query_get_date

function native.network._ugc_query_get_date(p0: int, index: int, p2: ptr int): void

_ugc_query_get_posix_updated_date

function native.network._ugc_query_get_posix_updated_date(p0: int, p1: int): int

_ugc_query_get_posix_published_date

function native.network._ugc_query_get_posix_published_date(p0: int, p1: int): int

_ugc_query_get_version

function native.network._ugc_query_get_version(p0: int, index: int, p2: int): int

_ugc_query_get_language

function native.network._ugc_query_get_language(p0: int, index: int): int

_ugc_query_get_published

function native.network._ugc_query_get_published(p0: int, p1: int): bool

_ugc_query_get_rating

function native.network._ugc_query_get_rating(p0: int, index: int, p2: int): float

_0x5f0e99071582deca

function native.network._0x5f0e99071582deca(p0: int, index: int, p2: int): int

ugc_query_get_content_has_player_record

function native.network.ugc_query_get_content_has_player_record(p0: int, index: int): bool

_ugc_query_get_book_marked

function native.network._ugc_query_get_book_marked(p0: int, index: int): bool

_ugc_has_privilege

Checks if the user has ROS privilege 14.

function native.network._ugc_has_privilege(): bool

ugc_request_content_data_from_params

function native.network.ugc_request_content_data_from_params(content_type_name: string, content_id: string, file_id: int, file_version: int, language_id: int): int

ugc_request_cached_description

function native.network.ugc_request_cached_description(description: int): int

ugc_is_description_request_in_progress

function native.network.ugc_is_description_request_in_progress(description: int): bool

ugc_has_description_request_finished

function native.network.ugc_has_description_request_finished(description: int): bool

ugc_did_description_request_succeed

function native.network.ugc_did_description_request_succeed(description: int): bool

ugc_get_cached_description

function native.network.ugc_get_cached_description(description: int, length: int): string

ugc_release_cached_description

function native.network.ugc_release_cached_description(description: int): bool

ugc_release_all_cached_descriptions

function native.network.ugc_release_all_cached_descriptions(): void

ugc_set_query_data_from_offline

function native.network.ugc_set_query_data_from_offline(p0: bool): void

ugc_is_language_supported

function native.network.ugc_is_language_supported(language_id: int): bool

_0xd4022c7286b0dfa2

function native.network._0xd4022c7286b0dfa2(p0: string, p1: int, p2: int): int

_network_persona_photo_write_sc_profile

Returns false if pedshot push failed

function native.network._network_persona_photo_write_sc_profile(texture: string, persona_photo_type: int, format_index: int): bool

_network_persona_photo_write_local

Returns false if pedshot push failed

function native.network._network_persona_photo_write_local(texture: string, player_slot: int, p2: int, persona_photo_local_cache_type: int): bool

_network_is_previous_upload_pending

_NETWORK_IS_T* - _NETWORK_RE*

function native.network._network_is_previous_upload_pending(): bool

_0xcc4e72c339461ed1

function native.network._0xcc4e72c339461ed1(): int

_request_pedshot_texture_local_backup_download

Only used in R* SP Scripts

function native.network._request_pedshot_texture_local_backup_download(player: int, persona_photo_local_cache_type: int): string

_request_pedshot_texture_local_download

Only used in R* SP Script map_app_event_handler

function native.network._request_pedshot_texture_local_download(gamer_handle: ptr int, p1: int): string

_request_pedshot_texture_multiplayer_download

function native.network._request_pedshot_texture_multiplayer_download(gamer_handle: ptr int, p1: int): string

_texture_download_texture_name_is_valid

function native.network._texture_download_texture_name_is_valid(name: string): bool

texture_download_request

Returns textureDownloadId

function native.network.texture_download_request(gamer_handle: ptr int, file_path: string, name: string, p3: bool): int

_mugshot_texture_download_request

Returns textureDownloadId

function native.network._mugshot_texture_download_request(gamer_handle: ptr int, p1: int, name: string, p3: bool): int

ugc_texture_download_request

function native.network.ugc_texture_download_request(p0: ptr int, p1: int, p2: int, p3: int, p4: ptr int, p5: bool): int

_local_player_pedshot_texture_download_request

function native.network._local_player_pedshot_texture_download_request(player_slot: int, persona_photo_local_cache_type: int): int

texture_download_release

function native.network.texture_download_release(texture_download_id: int): void

_texture_download_release_by_name

function native.network._texture_download_release_by_name(name: string): void

texture_download_get_name

function native.network.texture_download_get_name(texture_download_id: int): string

get_status_of_texture_download

0 = succeeded 1 = pending 2 = failed

function native.network.get_status_of_texture_download(texture_download_id: int): int

_pedmugshot_get_status

function native.network._pedmugshot_get_status(): int

_pedmugshot_take

function native.network._pedmugshot_take(): bool

_pedmugshot_request_send

function native.network._pedmugshot_request_send(): int

_0x814729078aed6d30

function native.network._0x814729078aed6d30(): void

network_have_ros_banned_priv

function native.network.network_have_ros_banned_priv(): bool

network_has_ros_privilege

function native.network.network_has_ros_privilege(index: int): bool

network_start_user_content_permissions_check

Always returns -1. Seems to be XB1 specific.

function native.network.network_start_user_content_permissions_check(gamer_handle: ptr int): int

_network_auto_session_set_allowed_to_split

function native.network._network_auto_session_set_allowed_to_split(toggle: bool): void

network_auto_session_is_allowed_to_merge

function native.network.network_auto_session_is_allowed_to_merge(): bool

_network_auto_session_set_allowed_to_merge

function native.network._network_auto_session_set_allowed_to_merge(toggle: bool, p1: ptr int, p2: int): void

_network_auto_session_is_auto_warp_disabled

function native.network._network_auto_session_is_auto_warp_disabled(): bool

_network_auto_session_set_auto_warp_enabled

function native.network._network_auto_session_set_auto_warp_enabled(toggle: bool): void

network_auto_session_can_split_session

function native.network.network_auto_session_can_split_session(p0: ptr int): bool

network_auto_session_split_session

function native.network.network_auto_session_split_session(players_to_take: int, max_instance_players: int, session_flags: int, bucket_id: int): bool

_network_auto_session_is_processing_session_split

function native.network._network_auto_session_is_processing_session_split(): bool

_network_auto_session_split_session_successful

function native.network._network_auto_session_split_session_successful(): bool

_network_auto_session_is_instanced_session

function native.network._network_auto_session_is_instanced_session(): bool

network_auto_session_finish_instance

function native.network.network_auto_session_finish_instance(): void

_0xfd8112109a96877c

Note: this native was added in build 1311.23

function native.network._0xfd8112109a96877c(): void

_0x5a91bcef74944e93

function native.network._0x5a91bcef74944e93(player: int, p1: float): void

_0xfb3205788f8afa3f

Note: this native was added in build 1311.23

function native.network._0xfb3205788f8afa3f(): int

_0x335af56613ca0f49

Note: this native was added in build 1311.23

function native.network._0x335af56613ca0f49(p0: int): void

_0x9e5a47744c0f0376

Note: this native was added in build 1311.23

function native.network._0x9e5a47744c0f0376(p0: int): bool

_0xd3b6ebc6c3d77d44

Note: this native was added in build 1311.23

function native.network._0xd3b6ebc6c3d77d44(p0: int): void

_0xa7670f7991099680

Note: this native was added in build 1311.23

function native.network._0xa7670f7991099680(p0: int): void

_0x7673c0d2c5cdac55

Note: this native was added in build 1311.23

function native.network._0x7673c0d2c5cdac55(): void

_0x3cbd6565d9c3b133

Note: this native was added in build 1311.23

function native.network._0x3cbd6565d9c3b133(p0: int, p1: int, p2: float): void

_0x0d183d8490ee4366

Note: this native was added in build 1311.23

function native.network._0x0d183d8490ee4366(p0: int, p1: int): void

_0xc1968045eeb563b7

Note: this native was added in build 1311.23

function native.network._0xc1968045eeb563b7(p0: int): void

network_auto_session_is_object_creation_paused

function native.network.network_auto_session_is_object_creation_paused(): bool

_0x0b6b4507ac5ea8b8

function native.network._0x0b6b4507ac5ea8b8(): bool

network_is_resetting_population

function native.network.network_is_resetting_population(): bool

network_reset_population

function native.network.network_reset_population(p0: bool, p1: int): bool

network_disable_leave_remote_ped_behind

function native.network.network_disable_leave_remote_ped_behind(toggle: bool): void

_0x3034c77c79a58880

function native.network._0x3034c77c79a58880(p0: bool): void

network_allow_remote_attachment_modification

Old name: _NETWORK_ALLOW_LOCAL_ENTITY_ATTACHMENT

function native.network.network_allow_remote_attachment_modification(entity: int, toggle: bool): void

network_show_chat_restriction_msc

nullsub, doesn't do anything

function native.network.network_show_chat_restriction_msc(player: int): void

network_show_psn_ugc_restriction

nullsub, doesn't do anything

function native.network.network_show_psn_ugc_restriction(): void

network_is_connected_via_relay

Old name: _NETWORK_IS_CONNECTION_ENDPOINT_RELAY_SERVER

function native.network.network_is_connected_via_relay(player: int): bool

network_get_average_latency

Old name: _NETWORK_GET_AVERAGE_LATENCY_FOR_PLAYER

function native.network.network_get_average_latency(player: int): float

network_get_average_ping

Same as NETWORK_GET_AVERAGE_LATENCY (0xD414BE129BB81B32)

Old name: _NETWORK_GET_AVERAGE_LATENCY_FOR_PLAYER_2

function native.network.network_get_average_ping(player: int): float

network_get_average_packet_loss

Old name: _NETWORK_GET_AVERAGE_PACKET_LOSS_FOR_PLAYER

function native.network.network_get_average_packet_loss(player: int): float

network_get_num_unacked_reliables

Old name: _NETWORK_GET_NUM_UNACKED_FOR_PLAYER

function native.network.network_get_num_unacked_reliables(player: int): int

network_get_unreliable_resend_count

Old name: _NETWORK_GET_UNRELIABLE_RESEND_COUNT_FOR_PLAYER

function native.network.network_get_unreliable_resend_count(player: int): int

network_get_highest_reliable_resend_count

Old name: _NETWORK_GET_OLDEST_RESEND_COUNT_FOR_PLAYER

function native.network.network_get_highest_reliable_resend_count(player: int): int

network_dump_net_if_config

nullsub, doesn't do anything

function native.network.network_dump_net_if_config(): void

network_get_net_statistics_info

nullsub, doesn't do anything

function native.network.network_get_net_statistics_info(): void

network_is_player_index_valid

Returns true if the passed value is less than 32.

function native.network.network_is_player_index_valid(player: int): bool

_get_player_waypoint_is_active

function native.network._get_player_waypoint_is_active(player: int): bool

_0x455156f47dc6b78c

function native.network._0x455156f47dc6b78c(p0: bool): void

_set_local_player_damage_multiplier_for_player

function native.network._set_local_player_damage_multiplier_for_player(player: int, damage_multiplier: float): void

network_trigger_damage_event_for_zero_damage

Old name: _NETWORK_SET_VEHICLE_WHEELS_DESTRUCTIBLE

function native.network.network_trigger_damage_event_for_zero_damage(entity: int, p1: bool): void

_0x5cd3aad8ff9ed121

function native.network._0x5cd3aad8ff9ed121(p0: int): void

_0x51951de06c0d1c40

function native.network._0x51951de06c0d1c40(player: int, type: int): void

_0xe3ab5eefcb6671a2

function native.network._0xe3ab5eefcb6671a2(setting: int): void

_0x9b39b0555cc692b5

function native.network._0x9b39b0555cc692b5(): void

_0xfe53b1f8d43f19bf

function native.network._0xfe53b1f8d43f19bf(player1: int, player2: int): int

_0x862c5040f4888741

function native.network._0x862c5040f4888741(player1: int, player2: int): bool

_0x2cd41ac000e6f611

nullsub, doesn't do anything

function native.network._0x2cd41ac000e6f611(): void

_0xacc44768af229042

nullsub, doesn't do anything

function native.network._0xacc44768af229042(): void

_0x7e300b5b86ab1d1a

function native.network._0x7e300b5b86ab1d1a(p0: ptr int, p1: int, p2: int, p3: int, p4: int, p5: int, p6: int, p7: int, p8: int, p9: int, p10: int, p11: int, p12: int, p13: int, p14: int): void

get_unique_int_for_player

function native.network.get_unique_int_for_player(player: int): int

_0x780a13f780a13f1b

function native.network._0x780a13f780a13f1b(toggle: bool): void

_network_is_tracked_player_visible

function native.network._network_is_tracked_player_visible(player: int, tracked_player: int): bool

network_is_aim_cam_active

function native.network.network_is_aim_cam_active(player: int): bool

_network_alert

function native.network._network_alert(ctx: int, lh: int, ec: int, h: int): void

_0x19447fcae97704dc

Note: this native was added in build 1311.23

function native.network._0x19447fcae97704dc(ctx: int, ec: int, ex: bool, ro: bool): void

_0x2c4e98dda475364f

nullsub, doesn't do anything

function native.network._0x2c4e98dda475364f(p0: string): void

_0x3f0abae38a0515ad

function native.network._0x3f0abae38a0515ad(p0: int, p1: int): void

_0x3f2ee18a3e294801

function native.network._0x3f2ee18a3e294801(p0: int): int

_set_social_matchmaking_allowed

function native.network._set_social_matchmaking_allowed(toggle: bool): void

_get_social_matchmaking_allowed

function native.network._get_social_matchmaking_allowed(): bool

network_award_has_reached_maxclaim

function native.network.network_award_has_reached_maxclaim(p0: int): bool

_0x271f95e55c663b8b

function native.network._0x271f95e55c663b8b(p0: int, p1: int): int

_0x64a36ba85ce01a81

function native.network._0x64a36ba85ce01a81(p0: int, p1: int, p2: int, p3: int): int

_0xe10f2d7715ababec

function native.network._0xe10f2d7715ababec(p0: int): int

_0x7a8e8df782b47eb0

function native.network._0x7a8e8df782b47eb0(p0: int, p1: int, p2: int): int

_0x77b299e8799b1332

function native.network._0x77b299e8799b1332(p0: int, p1: int, p2: int): int

_0x923346025512dfb7

function native.network._0x923346025512dfb7(p0: int): int

_network_get_xp

function native.network._network_get_xp(): int

_network_get_rank

function native.network._network_get_rank(): int

network_set_recent_gamers_enabled

function native.network.network_set_recent_gamers_enabled(toggle: bool): void

_0x273e04a3a7ad1f2d

function native.network._0x273e04a3a7ad1f2d(): bool

_network_add_player_to_recent_gamers_list

function native.network._network_add_player_to_recent_gamers_list(player: int, p1: int): void

network_request_recent_gamer_names

function native.network.network_request_recent_gamer_names(p0: int, player_count: int): bool

_network_is_recent_gamer_names_request_in_progress

function native.network._network_is_recent_gamer_names_request_in_progress(): bool

_network_did_recent_gamer_names_request_succeed

function native.network._network_did_recent_gamer_names_request_succeed(): bool

_network_get_num_recent_gamers

function native.network._network_get_num_recent_gamers(): int

network_get_recent_gamer_names

function native.network.network_get_recent_gamer_names(p0: int, p1: int, out_data: ptr int, data_size: int): bool

_0x49cf17a564918e8d

function native.network._0x49cf17a564918e8d(): void

_0xd637d327080cd86e

function native.network._0xd637d327080cd86e(p0: int): void

_0x564552c6af1eeab1

function native.network._0x564552c6af1eeab1(): void

network_activity_reset_to_idle

function native.network.network_activity_reset_to_idle(): void

network_activity_set_current

function native.network.network_activity_set_current(net_playlist_activity: int): void

_network_get_ros_title_name

Returns CGameConfig->ConfigOnlineServices->RosTitleName (see gameconfig.xml)

function native.network._network_get_ros_title_name(): string

_report_player

function native.network._report_player(player: int, report_type: int, description: string, horse_name: string): void