Native referenceRedM

GET_DEFAULT_ATTRIBUTE_POINTS_NEEDED_FOR_RANK

0x94A7F191DB49A44D ATTRIBUTE
FUNCTION SIGNATURE
int GET_DEFAULT_ATTRIBUTE_POINTS_NEEDED_FOR_RANK(`modelHash` (Hash), `attributeIndex` (int), `rank` (int));

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)

Back to ATTRIBUTE