RedM Natives

_IS_PED_SHOCKING_EVENT_ACTIVE

Tested with fire & dynamite.

Hash0xAB7993BA61A4674F
Runtime nameIsPedShockingEventActive
NamespaceFIRE
SideClient
NameCommunity guess
Docs
Since build1232

Signature

BOOL _IS_PED_SHOCKING_EVENT_ACTIVE(Ped ped, int p1);

Parameters

NameTypeDescription
pedPed—
p1int—

Returns BOOL

Description

Tested with fire & dynamite. Only returns true using value p1 = 1 and when the ped is affected by fire.

Usage

Lua
local retval = IsPedShockingEventActive(ped, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0xAB7993BA61A4674F, ped, p1, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedShockingEventActive(ped, p1);

// by hash
const retval = Citizen.invokeNative('0xAB7993BA61A4674F', ped, p1, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xAB7993BA61A4674F, ped, p1);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.