The Lab
SOCIALCLUB native

SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID

returns BOOL1 parambuild 1207

Returns true if the community event with the given id is currently active.

Signature

C
BOOL SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID(int p0); // 0x62B384FEFDE06817 b1207

Parameters

#NameType
1p0int

Facts

Facts about SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID
Name
SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID
Hash
0x62B384FEFDE06817
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x62B384FEFDE06817, -- SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID
  0 -- int p0
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x62B384FEFDE06817", // SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID
  0, // int p0
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x62B384FEFDE06817, // SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID
  0 // int p0
);
All SOCIALCLUB natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.