The Lab
SOCIALCLUB native

SC_PRESENCE_ATTR_SET_INT_EX

returns BOOL3 paramsbuild 1207

Sets the named Social Club presence attribute to an integer value. Returns true on success.

Signature

C
BOOL SC_PRESENCE_ATTR_SET_INT_EX(const char* attrName, int value, BOOL p2); // 0x0000000085488C49 b1207

Parameters

#NameType
1attrNameconst char*
2valueint
3p2BOOL

Facts

Facts about SC_PRESENCE_ATTR_SET_INT_EX
Name
SC_PRESENCE_ATTR_SET_INT_EX
Hash
0x0000000085488C49
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(0x0000000085488C49, -- SC_PRESENCE_ATTR_SET_INT_EX
  "text", -- const char* attrName
  0, -- int value
  false -- BOOL p2
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x0000000085488C49", // SC_PRESENCE_ATTR_SET_INT_EX
  "text", // const char* attrName
  0, // int value
  false, // BOOL p2
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x0000000085488C49, // SC_PRESENCE_ATTR_SET_INT_EX
  "text", // const char* attrName
  0, // int 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.