PedClient

isPedDucking

IS_PED_DUCKING0xD125AE748725C6BC

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_DUCKING(Ped ped)
Hash
0xD125AE748725C6BC

Open in the interactive natives reference