The Lab
SOCIALCLUB native

SC_COMMUNITY_EVENT_GET_DISPLAY_NAME_BY_ID

returns BOOL2 paramsbuild 1207

Writes the display name of the community event with the given id into the output buffer and returns true on success.

Signature

C
BOOL SC_COMMUNITY_EVENT_GET_DISPLAY_NAME_BY_ID(int p0, char* p1); // 0x11EA52CAD1B55910 b1207

Parameters

#NameType
1p0int
2p1char*

Facts

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

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