SET_ATTRIBUTE_POINTS
Hash
0x09A59688C26D88DFRuntime name
SetAttributePointsNamespaceATTRIBUTE
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_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
SetAttributePoints(ped, attributeIndex, p2)
-- always works, by hash
Citizen.InvokeNative(0x09A59688C26D88DF, ped, attributeIndex, p2)JavaScript and C#
SetAttributePoints(ped, attributeIndex, p2);
// by hash
Citizen.invokeNative('0x09A59688C26D88DF', ped, attributeIndex, p2);Function.Call((Hash)0x09A59688C26D88DF, 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.