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