isPedBeingArrested
IS_PED_BEING_ARRESTED0x90A09F3A45FED688The GTA V native IS_PED_BEING_ARRESTED of the TASK namespace, as LS:MP client scripts call it: the global function isPedBeingArrested, in JavaScript and in Lua.
isPedBeingArrested(ped: Ped): booleanisPedBeingArrested(ped: Ped): booleanUsage
JavaScript
const result = isPedBeingArrested(ped);Lua
local result = isPedBeingArrested(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This function is hard-coded to always return 0.
Reference
- Namespace
- Tasks TASK
- In the game
BOOL IS_PED_BEING_ARRESTED(Ped ped)- Hash
0x90A09F3A45FED688