RedM Natives

SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING

Hash0x9F6DCD0C939C71E9
Runtime nameScCommunityEventGetExtraDataString
NamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9DE5D2F723575ED0

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

Signature

BOOL SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING(const char* p0, char* p1);

Parameters

NameTypeDescription
p0const char*—
p1char*—

Returns BOOL

Usage

Lua
local retval = ScCommunityEventGetExtraDataString(p0, p1)

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

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

Sources

alloc8or RDR3 NativeDB

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