The Lab
ATTRIBUTE native

_GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT

returns float2 paramsbuild 1207

Returns how many seconds remain on the fortified (overpowered) state of the given attribute core for ped.

Signature

C
float _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT(Ped ped, int coreIndex); // 0xB429F58803D285B1 b1207

Parameters

#NameType
1pedPed
2coreIndexint

Facts

Facts about _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
Name
_GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
Hash
0xB429F58803D285B1
Namespace
Returns
float
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xB429F58803D285B1, -- _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
  PlayerPedId(), -- Ped ped
  0, -- int coreIndex
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xB429F58803D285B1", // _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
  PlayerPedId(), // Ped ped
  0, // int coreIndex
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xB429F58803D285B1, // _GET_ATTRIBUTE_CORE_OVERPOWER_SECONDS_LEFT
  API.PlayerPedId(), // Ped ped
  0 // int coreIndex
);
All ATTRIBUTE natives

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