SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING_BY_ID
Hash
0x049D2196D9D11184Runtime name
ScCommunityEventGetExtraDataStringByIdNamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x699E4A5C8C893A18Not called by the game's own scripts — behaviour may be incomplete.
Signature
BOOL SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING_BY_ID(int p0, const char* p1, char* p2);Parameters
| Name | Type | Description |
|---|---|---|
p0 | int | — |
p1 | const char* | — |
p2 | char* | — |
Returns BOOL
Usage
local retval = ScCommunityEventGetExtraDataStringById(p0, p1, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0x049D2196D9D11184, p0, p1, p2, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = ScCommunityEventGetExtraDataStringById(p0, p1, p2);
// by hash
const retval = Citizen.invokeNative('0x049D2196D9D11184', p0, p1, p2, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x049D2196D9D11184, p0, p1, p2);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.