The Lab
ATTRIBUTE native

_ENABLE_ATTRIBUTE_CORE_OVERPOWER

returns void4 paramsbuild 1207

Fortifies (overpowers) one of the ped's attribute cores, identified by coreIndex, using value as the overpower amount. makeSound controls whether the HUD plays its feedback sound.

Pair with _IS_ATTRIBUTE_CORE_OVERPOWERED to check whether the fortified state is active.

Signature

C
void _ENABLE_ATTRIBUTE_CORE_OVERPOWER(Ped ped, int coreIndex, float value, BOOL makeSound); // 0x4AF5A4C7B9157D14 b1207

Parameters

#NameType
1pedPed
2coreIndexint
3valuefloat
4makeSoundBOOL

Facts

Facts about _ENABLE_ATTRIBUTE_CORE_OVERPOWER
Name
_ENABLE_ATTRIBUTE_CORE_OVERPOWER
Hash
0x4AF5A4C7B9157D14
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(0x4AF5A4C7B9157D14, -- _ENABLE_ATTRIBUTE_CORE_OVERPOWER
  PlayerPedId(), -- Ped ped
  0, -- int coreIndex
  0.0, -- float value
  false -- BOOL makeSound
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x4AF5A4C7B9157D14", // _ENABLE_ATTRIBUTE_CORE_OVERPOWER
  PlayerPedId(), // Ped ped
  0, // int coreIndex
  0.0, // float value
  false // BOOL makeSound
);
C#
Function.Call((Hash)0x4AF5A4C7B9157D14, // _ENABLE_ATTRIBUTE_CORE_OVERPOWER
  API.PlayerPedId(), // Ped ped
  0, // int coreIndex
  0.0f, // float value
  false // BOOL makeSound
);
All ATTRIBUTE natives

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