PedClient

isPedInHighCover

IS_PED_IN_HIGH_COVER0x6A03BF943D767C93

The GTA V native IS_PED_IN_HIGH_COVER of the PED namespace, as LS:MP client scripts call it: the global function isPedInHighCover, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_HIGH_COVER(Ped ped)
Hash
0x6A03BF943D767C93
Formerly
_IS_PED_STANDING_IN_COVER

Open in the interactive natives reference