The Lab
SOCIALCLUB native

SC_COMMUNITY_EVENT_IS_ACTIVE

returns BOOL0 paramsbuild 1207

Returns true if a Social Club community event is currently active.

Signature

C
BOOL SC_COMMUNITY_EVENT_IS_ACTIVE(); // 0xCBF743C984695CF3 b1207

Parameters

This native takes no parameters.

Facts

Facts about SC_COMMUNITY_EVENT_IS_ACTIVE
Name
SC_COMMUNITY_EVENT_IS_ACTIVE
Hash
0xCBF743C984695CF3
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(0xCBF743C984695CF3) -- SC_COMMUNITY_EVENT_IS_ACTIVE
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xCBF743C984695CF3", // SC_COMMUNITY_EVENT_IS_ACTIVE
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xCBF743C984695CF3); // SC_COMMUNITY_EVENT_IS_ACTIVE
All SOCIALCLUB natives

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