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