PedClient

isPedGoingIntoCover

IS_PED_GOING_INTO_COVER0x9F65DBC537E59AD5

The 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.

SignatureJavaScript
isPedGoingIntoCover(ped: Ped): boolean
SignatureLua
isPedGoingIntoCover(ped: Ped): boolean

Usage

JavaScript
const result = isPedGoingIntoCover(ped);
Lua
local result = isPedGoingIntoCover(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_GOING_INTO_COVER(Ped ped)
Hash
0x9F65DBC537E59AD5

Open in the interactive natives reference