SC_COMMUNITY_EVENT_GET_EXTRA_DATA_INT
Hash
0xB4411D4D6B81438ERuntime name
ScCommunityEventGetExtraDataIntNamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x710BCDA8071EDED1Not called by the game's own scripts — behaviour may be incomplete.
Signature
BOOL SC_COMMUNITY_EVENT_GET_EXTRA_DATA_INT(const char* p0, int* p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | const char* | — |
p1 | int* | — |
Returns BOOL
Usage
local retval, p1 = ScCommunityEventGetExtraDataInt(p0, p1)
-- always works, by hash
local retval, p1 = Citizen.InvokeNative(0xB4411D4D6B81438E, p0, Citizen.PointerValueIntInitialized(p1), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, p1] = ScCommunityEventGetExtraDataInt(p0, p1);
// by hash
const [retval, p1] = Citizen.invokeNative('0xB4411D4D6B81438E', p0, Citizen.pointerValueIntInitialized(p1), Citizen.returnResultAnyway());var p1 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xB4411D4D6B81438E, p0, p1);
// p1.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.