The Lab
ATTRIBUTE native

SET_ATTRIBUTE_BASE_RANK

returns void3 paramsbuild 1207

Sets the base rank of the attribute selected by attributeIndex on ped to newValue.

Signature

C
void SET_ATTRIBUTE_BASE_RANK(Ped ped, int attributeIndex, int newValue); // 0x5DA12E025D47D4E5 b1207

Parameters

#NameType
1pedPed
2attributeIndexint
3newValueint

Facts

Facts about SET_ATTRIBUTE_BASE_RANK
Name
SET_ATTRIBUTE_BASE_RANK
Hash
0x5DA12E025D47D4E5
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x5DA12E025D47D4E5, -- SET_ATTRIBUTE_BASE_RANK
  PlayerPedId(), -- Ped ped
  0, -- int attributeIndex
  0 -- int newValue
)
JavaScript
Citizen.invokeNative("0x5DA12E025D47D4E5", // SET_ATTRIBUTE_BASE_RANK
  PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0 // int newValue
);
C#
Function.Call((Hash)0x5DA12E025D47D4E5, // SET_ATTRIBUTE_BASE_RANK
  API.PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0 // int newValue
);
All ATTRIBUTE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.