RedM Natives

SET_ATTRIBUTE_BONUS_RANK

Hash0x920F9488BD115EFB
Runtime nameSetAttributeBonusRank
NamespaceATTRIBUTE
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_ATTRIBUTE_BONUS_RANK(Ped ped, int attributeIndex, int newValue);

Parameters

NameTypeDescription
pedPed—
attributeIndexint—
newValueint—

Returns void

Description

attributeIndex: see SET_ATTRIBUTE_BASE_RANK

Usage

Lua
SetAttributeBonusRank(ped, attributeIndex, newValue)

-- always works, by hash
Citizen.InvokeNative(0x920F9488BD115EFB, ped, attributeIndex, newValue)
JavaScript and C#
JavaScript
SetAttributeBonusRank(ped, attributeIndex, newValue);

// by hash
Citizen.invokeNative('0x920F9488BD115EFB', ped, attributeIndex, newValue);
C#
Function.Call((Hash)0x920F9488BD115EFB, ped, attributeIndex, newValue);

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.