跳转至

gang


network_is_gang_id_valid

bool native.gang.network_is_gang_id_valid(int gang_id)


network_is_gang_in_session

bool native.gang.network_is_gang_in_session(int gang_id)


network_is_gang_active

bool native.gang.network_is_gang_active(int gang_id)


_network_is_gang_open

bool native.gang._network_is_gang_open(int gang_id)


_network_get_gang_privacy

int native.gang._network_get_gang_privacy()


_network_start_gang

void native.gang._network_start_gang(bool open_status, int camp_size)

openStatus = true -> sets privacyType = 2 (PUBLIC_ADVERTISED)
openStatus = false -> sets privacyType = 1 (INVITE_ONLY)

campSize: NET_CAMP_SIZE_SMALLEST = 4, NET_CAMP_SIZE_LARGEST = 7

_network_set_gang_privacy

bool native.gang._network_set_gang_privacy(int privacy_type)


_network_leave_gang

void native.gang._network_leave_gang(bool disband)


_network_kick_gang_member

void native.gang._network_kick_gang_member(int player, int ban_time_seconds)

banTimeSeconds is 120 in R* Scripts

_network_request_gang_join

bool native.gang._network_request_gang_join(int gang_id)

Returns true if join succeeded, false if failed.

network_is_gang_leader

bool native.gang.network_is_gang_leader(int player)


_network_is_gang_member

bool native.gang._network_is_gang_member(int gang_id, int player)


network_is_in_same_gang

bool native.gang.network_is_in_same_gang(int player1, int player2)


_network_is_in_my_gang

bool native.gang._network_is_in_my_gang(int player)


network_get_num_gang_members

int native.gang.network_get_num_gang_members(int gang_id)


_network_get_gang_size

int native.gang._network_get_gang_size(int gang_id)


_network_set_gang_size

bool native.gang._network_set_gang_size(int size)


network_get_gang_id

int native.gang.network_get_gang_id(int player)


_network_get_gang_members

int native.gang._network_get_gang_members(int gang_id, ptr int member_handles)


_0xda801f7f6a5278d3

bool native.gang._0xda801f7f6a5278d3(int player)

_NETWORK_GET_* or _NETWORK_IS_*

_0x2f7eb8b6f6afe79c

int native.gang._0x2f7eb8b6f6afe79c(int p0)


_0x53a94294fddcf98c

int native.gang._0x53a94294fddcf98c(int p0, int p1)


network_get_gang_leader

int native.gang.network_get_gang_leader(int gang_id)


_network_get_gang_leader_handle

bool native.gang._network_get_gang_leader_handle(int gang_id, ptr int gamer_handle)


_0x6102830f764b3de1

bool native.gang._0x6102830f764b3de1(int player)


_0xb38c256498748413

void native.gang._0xb38c256498748413()


_0xe4c64cd37cb176aa

int native.gang._0xe4c64cd37cb176aa(int p0)


_0x7baa30c9bbe8aee7

int native.gang._0x7baa30c9bbe8aee7(int p0, int p1)


_0x0e5c9fb9ed5dff1c

int native.gang._0x0e5c9fb9ed5dff1c(int p0)


_0xb22b1d9f74095382

void native.gang._0xb22b1d9f74095382(int p0)


_0xee4f20004d0288b7

void native.gang._0xee4f20004d0288b7()


_0xad22ab64fa428df3

void native.gang._0xad22ab64fa428df3(int p0)


_0x48d82c83987e18e4

int native.gang._0x48d82c83987e18e4(int p0)


_0xa9ceae8d6637fbad

void native.gang._0xa9ceae8d6637fbad(int p0)


_0x51c5ef47086aa0d7

int native.gang._0x51c5ef47086aa0d7()


_0x644e02f24f9d4e98

int native.gang._0x644e02f24f9d4e98(int p0, int p1)


_0x3adc71a66356d706

int native.gang._0x3adc71a66356d706()


_0xfa7c5b7e087a4ceb

int native.gang._0xfa7c5b7e087a4ceb()


_0x1f11702ddbd915c6

int native.gang._0x1f11702ddbd915c6(int p0, int p1)


_0x7933754f260b428a

int native.gang._0x7933754f260b428a(int player)


_0xafd3599a3cc5637d

int native.gang._0xafd3599a3cc5637d()


_0xc81a9e2c8efd28d5

void native.gang._0xc81a9e2c8efd28d5(int p0)