The Lab
ATTRIBUTE native

SET_ATTRIBUTE_BONUS_RANK

returns void3 paramsbuild 1207

Sets the bonus rank applied on top of the base rank for the given attribute of ped.

Signature

C
void SET_ATTRIBUTE_BONUS_RANK(Ped ped, int attributeIndex, int newValue); // 0x920F9488BD115EFB b1207

Parameters

#NameType
1pedPed
2attributeIndexint
3newValueint

Facts

Facts about SET_ATTRIBUTE_BONUS_RANK
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.

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

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