RedM Natives

SC_COMMUNITY_EVENT_GET_DISPLAY_NAME

Hash0x89D9BDE7334B110F
Runtime nameScCommunityEventGetDisplayName
NamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC2C97EA97711D1AE

Not called by the game's own scripts — behaviour may be incomplete.

Signature

BOOL SC_COMMUNITY_EVENT_GET_DISPLAY_NAME(char* p0);

Parameters

NameTypeDescription
p0char*—

Returns BOOL

Usage

Lua
local retval = ScCommunityEventGetDisplayName(p0)

-- always works, by hash
local retval = Citizen.InvokeNative(0x89D9BDE7334B110F, p0, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = ScCommunityEventGetDisplayName(p0);

// by hash
const retval = Citizen.invokeNative('0x89D9BDE7334B110F', p0, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x89D9BDE7334B110F, p0);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.