ADD_ATTRIBUTE_POINTS
Adds experience points to the attribute selected by attributeIndex on ped, which can raise its rank once enough points accumulate.
Signature
void ADD_ATTRIBUTE_POINTS(Ped ped, int attributeIndex, int p2); // 0x75415EE0CB583760 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | attributeIndex | int |
| 3 | p2 | int |
Facts
| 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.
Citizen.InvokeNative(0x75415EE0CB583760, -- ADD_ATTRIBUTE_POINTS
PlayerPedId(), -- Ped ped
0, -- int attributeIndex
0 -- int p2
)Citizen.invokeNative("0x75415EE0CB583760", // ADD_ATTRIBUTE_POINTS
PlayerPedId(), // Ped ped
0, // int attributeIndex
0 // int p2
);Function.Call((Hash)0x75415EE0CB583760, // ADD_ATTRIBUTE_POINTS
API.PlayerPedId(), // Ped ped
0, // int attributeIndex
0 // int p2
);Related ATTRIBUTE natives
- GET_ATTRIBUTE_POINTS
- GET_DEFAULT_ATTRIBUTE_POINTS_NEEDED_FOR_RANK
- GET_MAX_ATTRIBUTE_POINTS
- SET_ATTRIBUTE_POINTS
- _ENABLE_ATTRIBUTE_CORE_OVERPOWER
- _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
- _GET_ATTRIBUTE_CORE_VALUE
- _GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT
- _IS_ATTRIBUTE_CORE_OVERPOWERED
- _IS_ATTRIBUTE_OVERPOWERED
- _SET_ATTRIBUTE_CORE_VALUE
- DISABLE_ATTRIBUTE_OVERPOWER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.