PedClient

isPedAimingFromCover

IS_PED_AIMING_FROM_COVER0x3998B1276A3300E5

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_AIMING_FROM_COVER(Ped ped)
Hash
0x3998B1276A3300E5

Open in the interactive natives reference