SET_ATTRIBUTE_BONUS_RANK
Sets the bonus rank applied on top of the base rank for the given attribute of ped.
Signature
void SET_ATTRIBUTE_BONUS_RANK(Ped ped, int attributeIndex, int newValue); // 0x920F9488BD115EFB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | attributeIndex | int |
| 3 | newValue | int |
Facts
| Name | SET_ATTRIBUTE_BONUS_RANK |
|---|---|
| Hash | 0x920F9488BD115EFB |
| 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(0x920F9488BD115EFB, -- SET_ATTRIBUTE_BONUS_RANK
PlayerPedId(), -- Ped ped
0, -- int attributeIndex
0 -- int newValue
)Citizen.invokeNative("0x920F9488BD115EFB", // SET_ATTRIBUTE_BONUS_RANK
PlayerPedId(), // Ped ped
0, // int attributeIndex
0 // int newValue
);Function.Call((Hash)0x920F9488BD115EFB, // SET_ATTRIBUTE_BONUS_RANK
API.PlayerPedId(), // Ped ped
0, // int attributeIndex
0 // int newValue
);Related ATTRIBUTE natives
- SET_ATTRIBUTE_BASE_RANK
- SET_ATTRIBUTE_POINTS
- GET_ATTRIBUTE_BONUS_RANK
- _SET_ATTRIBUTE_CORE_VALUE
- GET_ATTRIBUTE_BASE_RANK
- GET_ATTRIBUTE_RANK
- GET_DEFAULT_ATTRIBUTE_POINTS_NEEDED_FOR_RANK
- GET_DEFAULT_ATTRIBUTE_RANK
- GET_DEFAULT_MAX_ATTRIBUTE_RANK
- GET_MAX_ATTRIBUTE_RANK
- _ENABLE_ATTRIBUTE_CORE_OVERPOWER
- _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.