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