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