isPedDiving
IS_PED_DIVING0x5527B8246FEF9B11The GTA V native IS_PED_DIVING of the PED namespace, as LS:MP client scripts call it: the global function isPedDiving, in JavaScript and in Lua.
isPedDiving(ped: Ped): booleanisPedDiving(ped: Ped): booleanUsage
JavaScript
const result = isPedDiving(ped);Lua
local result = isPedDiving(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_DIVING(Ped ped)- Hash
0x5527B8246FEF9B11