The Lab
ATTRIBUTE native

ENABLE_ATTRIBUTE_OVERPOWER

returns void4 paramsbuild 1207

Puts the attribute selected by attributeIndex into an overpowered (fortified) state on ped with the given value. makeSound toggles the accompanying UI sound.

Signature

C
void ENABLE_ATTRIBUTE_OVERPOWER(Ped ped, int attributeIndex, float value, BOOL makeSound); // 0xF6A7C08DF2E28B28 b1207

Parameters

#NameType
1pedPed
2attributeIndexint
3valuefloat
4makeSoundBOOL

Facts

Facts about ENABLE_ATTRIBUTE_OVERPOWER
Name
ENABLE_ATTRIBUTE_OVERPOWER
Hash
0xF6A7C08DF2E28B28
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(0xF6A7C08DF2E28B28, -- ENABLE_ATTRIBUTE_OVERPOWER
  PlayerPedId(), -- Ped ped
  0, -- int attributeIndex
  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("0xF6A7C08DF2E28B28", // ENABLE_ATTRIBUTE_OVERPOWER
  PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0.0, // float value
  false // BOOL makeSound
);
C#
Function.Call((Hash)0xF6A7C08DF2E28B28, // ENABLE_ATTRIBUTE_OVERPOWER
  API.PlayerPedId(), // Ped ped
  0, // int attributeIndex
  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.