RedM Natives

IS_PED_IN_WRITHE

This native checks if a ped is on the ground, in pain from a (gunshot) wound.

Hash0xDEB6D52126E7D640
Runtime nameIsPedInWrithe
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xDEB6D52126E7D640

Signature

BOOL IS_PED_IN_WRITHE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

This native checks if a ped is on the ground, in pain from a (gunshot) wound.

Usage

Lua
local retval = IsPedInWrithe(ped)

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

// by hash
const retval = Citizen.invokeNative('0xDEB6D52126E7D640', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xDEB6D52126E7D640, ped);

Sources

alloc8or RDR3 NativeDB

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