RedM Natives

ADD_ATTRIBUTE_POINTS

Hash0x75415EE0CB583760
Runtime nameAddAttributePoints
NamespaceATTRIBUTE
SideClient
NameOfficial
Docs
Since build1207

Signature

void ADD_ATTRIBUTE_POINTS(Ped ped, int attributeIndex, int p2);

Parameters

NameTypeDescription
pedPed—
attributeIndexint—
p2int—

Returns void

Description

attributeIndex: see SET_ATTRIBUTE_BASE_RANK

Usage

Lua
AddAttributePoints(ped, attributeIndex, p2)

-- always works, by hash
Citizen.InvokeNative(0x75415EE0CB583760, ped, attributeIndex, p2)
JavaScript and C#
JavaScript
AddAttributePoints(ped, attributeIndex, p2);

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

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

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