NETWORK_IS_GANG_ID_VALID
Returns true if gangId refers to a valid gang.
Signature
BOOL NETWORK_IS_GANG_ID_VALID(Any gangId); // 0xD6F6ACF4392187FB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | gangId | Any |
Facts
| Name | NETWORK_IS_GANG_ID_VALID |
|---|---|
| Hash | 0xD6F6ACF4392187FB |
| 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(0xD6F6ACF4392187FB, -- NETWORK_IS_GANG_ID_VALID
0 -- Any gangId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xD6F6ACF4392187FB", // NETWORK_IS_GANG_ID_VALID
0, // Any gangId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xD6F6ACF4392187FB, // NETWORK_IS_GANG_ID_VALID
0 // Any gangId
);Related GANG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.