RedM Natives

SET_ATTRIBUTE_POINTS

Hash0x09A59688C26D88DF
Runtime nameSetAttributePoints
NamespaceATTRIBUTE
SideClient
NameOfficial
Docs
Since build1207

Signature

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

Parameters

NameTypeDescription
pedPed—
attributeIndexint—
p2int—

Returns void

Description

attributeIndex: see SET_ATTRIBUTE_BASE_RANK

Usage

Lua
SetAttributePoints(ped, attributeIndex, p2)

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

// by hash
Citizen.invokeNative('0x09A59688C26D88DF', ped, attributeIndex, p2);
C#
Function.Call((Hash)0x09A59688C26D88DF, 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.