RedM Natives

_GET_IS_PED_TAKING_POISON_GAS_DAMAGE

True if the ped is currently being damaged by poison gas/fog (used by scripts to block actions like crafting).

Hash0x0DE0944ECCB3DF5D
Runtime nameGetIsPedTakingPoisonGasDamage
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1232
Also known as_IS_PED_TAKING_POISON_GAS_DAMAGE

Signature

BOOL _GET_IS_PED_TAKING_POISON_GAS_DAMAGE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

alloc8or RDR3 NativeDB

True if the ped is currently being damaged by poison gas/fog (used by scripts to block actions like crafting). May be false if damage is suppressed/immune even while inside the fog.

VORPCORE RDR3natives

Checks whether the given ped is currently taking damage from poisonous gas/fog volumes (e.g., toxic moonshine cloud, scripted poison fog).

Usage

Lua
local retval = GetIsPedTakingPoisonGasDamage(ped)

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

// by hash
const retval = Citizen.invokeNative('0x0DE0944ECCB3DF5D', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x0DE0944ECCB3DF5D, ped);
  • 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 · VORPCORE RDR3natives

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