wasPedKnockedOut
WAS_PED_KNOCKED_OUT0x61767F73EACEED21The GTA V native WAS_PED_KNOCKED_OUT of the PED namespace, as LS:MP client scripts call it: the global function wasPedKnockedOut, in JavaScript and in Lua.
wasPedKnockedOut(ped: Ped): booleanwasPedKnockedOut(ped: Ped): booleanUsage
JavaScript
const result = wasPedKnockedOut(ped);Lua
local result = wasPedKnockedOut(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL WAS_PED_KNOCKED_OUT(Ped ped)- Hash
0x61767F73EACEED21