isPedInWrithe
IS_PED_IN_WRITHE0xDEB6D52126E7D640The GTA V native IS_PED_IN_WRITHE of the TASK namespace, as LS:MP client scripts call it: the global function isPedInWrithe, in JavaScript and in Lua.
isPedInWrithe(ped: Ped): booleanisPedInWrithe(ped: Ped): booleanUsage
JavaScript
const result = isPedInWrithe(ped);Lua
local result = isPedInWrithe(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This native checks if a ped is on the ground, in pain from a (gunshot) wound.
Returns true if the ped is in writhe, false otherwise.
Reference
- Namespace
- Tasks TASK
- In the game
BOOL IS_PED_IN_WRITHE(Ped ped)- Hash
0xDEB6D52126E7D640