The Lab
SOCIALCLUB native

SC_PRESENCE_ATTR_SET_STRING_EX

returns BOOL3 paramsbuild 1207

Sets the named Social Club presence attribute to a string value. Returns true on success.

Signature

C
BOOL SC_PRESENCE_ATTR_SET_STRING_EX(const char* attrName, const char* value, BOOL p2); // 0x00000000EB2D93B3 b1207

Parameters

#NameType
1attrNameconst char*
2valueconst char*
3p2BOOL

Facts

Facts about SC_PRESENCE_ATTR_SET_STRING_EX
Name
SC_PRESENCE_ATTR_SET_STRING_EX
Hash
0x00000000EB2D93B3
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x00000000EB2D93B3, -- SC_PRESENCE_ATTR_SET_STRING_EX
  "text", -- const char* attrName
  "text", -- const char* value
  false -- BOOL p2
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x00000000EB2D93B3", // SC_PRESENCE_ATTR_SET_STRING_EX
  "text", // const char* attrName
  "text", // const char* value
  false, // BOOL p2
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x00000000EB2D93B3, // SC_PRESENCE_ATTR_SET_STRING_EX
  "text", // const char* attrName
  "text", // const char* value
  false // BOOL p2
);
All SOCIALCLUB natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.