SET_ATTRIBUTE_BONUS_RANK
Hash
0x920F9488BD115EFBRuntime name
SetAttributeBonusRankNamespaceATTRIBUTE
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_ATTRIBUTE_BONUS_RANK(Ped ped, int attributeIndex, int newValue);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attributeIndex | int | — |
newValue | int | — |
Returns void
Description
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
Usage
SetAttributeBonusRank(ped, attributeIndex, newValue)
-- always works, by hash
Citizen.InvokeNative(0x920F9488BD115EFB, ped, attributeIndex, newValue)JavaScript and C#
SetAttributeBonusRank(ped, attributeIndex, newValue);
// by hash
Citizen.invokeNative('0x920F9488BD115EFB', ped, attributeIndex, newValue);Function.Call((Hash)0x920F9488BD115EFB, ped, attributeIndex, newValue);Enums and flags
- PedAttribute__AttributeType 23 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.