PedClient

isPedBeingJacked

IS_PED_BEING_JACKED0x9A497FE2DF198913

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_BEING_JACKED(Ped ped)
Hash
0x9A497FE2DF198913

Open in the interactive natives reference