The Lab
ATTRIBUTE native

SET_ATTRIBUTE_POINTS

returns void3 paramsbuild 1207

Sets the experience points of the attribute selected by attributeIndex on ped directly, replacing the current amount.

Signature

C
void SET_ATTRIBUTE_POINTS(Ped ped, int attributeIndex, int p2); // 0x09A59688C26D88DF b1207

Parameters

#NameType
1pedPed
2attributeIndexint
3p2int

Facts

Facts about SET_ATTRIBUTE_POINTS
Name
SET_ATTRIBUTE_POINTS
Hash
0x09A59688C26D88DF
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(0x09A59688C26D88DF, -- SET_ATTRIBUTE_POINTS
  PlayerPedId(), -- Ped ped
  0, -- int attributeIndex
  0 -- int p2
)
JavaScript
Citizen.invokeNative("0x09A59688C26D88DF", // SET_ATTRIBUTE_POINTS
  PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0 // int p2
);
C#
Function.Call((Hash)0x09A59688C26D88DF, // SET_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.