{"hash":"0x0DE0944ECCB3DF5D","ns":"WEAPON","name":"_GET_IS_PED_TAKING_POISON_GAS_DAMAGE","slug":"_GET_IS_PED_TAKING_POISON_GAS_DAMAGE","official":false,"named":true,"luaName":"GetIsPedTakingPoisonGasDamage","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"}],"summary":"True if the ped is currently being damaged by poison gas/fog (used by scripts to block actions like crafting).","descriptions":[{"source":"alloc8or","format":"text","body":"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."},{"source":"vorp","format":"text","body":"Checks whether the given ped is currently taking damage from poisonous gas/fog volumes (e.g., toxic moonshine cloud, scripted poison fog)."}],"examples":[],"aliases":["_IS_PED_TAKING_POISON_GAS_DAMAGE"],"enums":[],"related":[],"build":"1232","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_IS_PED_TAKING_POISON_GAS_DAMAGE","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_IS_PED_TAKING_POISON_GAS_DAMAGE.md","snippets":{"lua":"local retval = GetIsPedTakingPoisonGasDamage(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x0DE0944ECCB3DF5D, ped, Citizen.ReturnResultAnyway())","js":"const retval = GetIsPedTakingPoisonGasDamage(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x0DE0944ECCB3DF5D', ped, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x0DE0944ECCB3DF5D, ped);","notes":["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."]}}