PedClient

isPedInCoverFacingLeft

IS_PED_IN_COVER_FACING_LEFT0x845333B3150583AB

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_COVER_FACING_LEFT(Ped ped)
Hash
0x845333B3150583AB

Open in the interactive natives reference