The Lab
ATTRIBUTE native

GET_ATTRIBUTE_BONUS_RANK

returns int2 paramsbuild 1207

Returns the bonus rank currently added on top of the base rank for the given attribute of ped.

Signature

C
int GET_ATTRIBUTE_BONUS_RANK(Ped ped, int coreIndex); // 0x0EFA71F4B4330E04 b1207

Parameters

#NameType
1pedPed
2coreIndexint

Facts

Facts about GET_ATTRIBUTE_BONUS_RANK
Name
GET_ATTRIBUTE_BONUS_RANK
Hash
0x0EFA71F4B4330E04
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x0EFA71F4B4330E04, -- GET_ATTRIBUTE_BONUS_RANK
  PlayerPedId(), -- Ped ped
  0, -- int coreIndex
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x0EFA71F4B4330E04", // GET_ATTRIBUTE_BONUS_RANK
  PlayerPedId(), // Ped ped
  0, // int coreIndex
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x0EFA71F4B4330E04, // GET_ATTRIBUTE_BONUS_RANK
  API.PlayerPedId(), // Ped ped
  0 // int coreIndex
);
All ATTRIBUTE natives

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