Description: attributeIndex: see SET_ATTRIBUTE_BASE_RANK
| Property | Value |
|---|---|
| Native Name | GET_DEFAULT_ATTRIBUTE_POINTS_NEEDED_FOR_RANK |
| Hash | 0x94A7F191DB49A44D |
| Return Type | int |
| Build | 1207 |
| Parameters | modelHash (Hash), attributeIndex (int), rank (int) |
Parameters
modelHash(Hash)attributeIndex(int)rank(int)
Usage
Lua (Direct):
local result = GetDefaultAttributePointsNeededForRank(modelHash, attributeIndex, rank)
Lua (Hash):
local result = Citizen.InvokeNative(0x94A7F191DB49A44D, modelHash, attributeIndex, rank)