The Lab
ATTRIBUTE native

ADD_ATTRIBUTE_POINTS

returns void3 paramsbuild 1207

Adds experience points to the attribute selected by attributeIndex on ped, which can raise its rank once enough points accumulate.

Signature

C
void ADD_ATTRIBUTE_POINTS(Ped ped, int attributeIndex, int p2); // 0x75415EE0CB583760 b1207

Parameters

#NameType
1pedPed
2attributeIndexint
3p2int

Facts

Facts about ADD_ATTRIBUTE_POINTS
Name
ADD_ATTRIBUTE_POINTS
Hash
0x75415EE0CB583760
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x75415EE0CB583760, -- ADD_ATTRIBUTE_POINTS
  PlayerPedId(), -- Ped ped
  0, -- int attributeIndex
  0 -- int p2
)
JavaScript
Citizen.invokeNative("0x75415EE0CB583760", // ADD_ATTRIBUTE_POINTS
  PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0 // int p2
);
C#
Function.Call((Hash)0x75415EE0CB583760, // ADD_ATTRIBUTE_POINTS
  API.PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0 // int p2
);
All ATTRIBUTE natives

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