_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).
Hash
0x0DE0944ECCB3DF5DRuntime name
GetIsPedTakingPoisonGasDamageNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1232
Also known as
_IS_PED_TAKING_POISON_GAS_DAMAGESignature
BOOL _GET_IS_PED_TAKING_POISON_GAS_DAMAGE(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
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.
Checks whether the given ped is currently taking damage from poisonous gas/fog volumes (e.g., toxic moonshine cloud, scripted poison fog).
Usage
local retval = GetIsPedTakingPoisonGasDamage(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x0DE0944ECCB3DF5D, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetIsPedTakingPoisonGasDamage(ped);
// by hash
const retval = Citizen.invokeNative('0x0DE0944ECCB3DF5D', ped, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.