NETWORK_IS_IN_SAME_GANG
Returns true if player1 and player2 belong to the same gang.
Signature
BOOL NETWORK_IS_IN_SAME_GANG(Player player1, Player player2); // 0x3F59FE6F37869576 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player1 | Player |
| 2 | player2 | Player |
Facts
| Name | NETWORK_IS_IN_SAME_GANG |
|---|---|
| Hash | 0x3F59FE6F37869576 |
| 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(0x3F59FE6F37869576, -- NETWORK_IS_IN_SAME_GANG
PlayerId(), -- Player player1
PlayerId() -- Player player2
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x3F59FE6F37869576", // NETWORK_IS_IN_SAME_GANG
PlayerId(), // Player player1
PlayerId(), // Player player2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x3F59FE6F37869576, // NETWORK_IS_IN_SAME_GANG
API.PlayerId(), // Player player1
API.PlayerId() // Player player2
);Related GANG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.