_NETWORK_SET_GANG_PRIVACY
Sets the privacy type of the local player's gang and returns a success flag.
Signature
BOOL _NETWORK_SET_GANG_PRIVACY(int privacyType); // 0xC5BF29F4035277C2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | privacyType | int |
Facts
| Name | _NETWORK_SET_GANG_PRIVACY |
|---|---|
| Hash | 0xC5BF29F4035277C2 |
| 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(0xC5BF29F4035277C2, -- _NETWORK_SET_GANG_PRIVACY
0 -- int privacyType
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC5BF29F4035277C2", // _NETWORK_SET_GANG_PRIVACY
0, // int privacyType
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC5BF29F4035277C2, // _NETWORK_SET_GANG_PRIVACY
0 // int privacyType
);Related GANG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.