RDR3 match
ATTRIBUTE::GET_ATTRIBUTE_RANK
0xD6FBF21F5B371DC1 ·RVA 0x04BF3BE0
Signature
int GET_ATTRIBUTE_RANK(Ped ped, int attributeIndex);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | int | attributeIndex |
– |
Returns
int
Call it
// ATTRIBUTE::GET_ATTRIBUTE_RANK
auto result = invoke<int>(0xD6FBF21F5B371DC1, ped, attributeIndex);// ATTRIBUTE::GET_ATTRIBUTE_RANK
int result = Function.Call<int>((Hash)0xD6FBF21F5B371DC1, ped, attributeIndex);-- ATTRIBUTE::GET_ATTRIBUTE_RANK
local result = Citizen.InvokeNative(0xD6FBF21F5B371DC1, ped, attributeIndex)// ATTRIBUTE::GET_ATTRIBUTE_RANK
const result = Citizen.invokeNative("0xD6FBF21F5B371DC1", ped, attributeIndex);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.