PedClient

triggerPedScenarioPanicexittoflee

TRIGGER_PED_SCENARIO_PANICEXITTOFLEE0x25361A96E0F7E419

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

SignatureJavaScript
triggerPedScenarioPanicexittoflee(p0: any, p1: any, p2: any, p3: any): boolean
SignatureLua
triggerPedScenarioPanicexittoflee(p0: any, p1: any, p2: any, p3: any): boolean

Usage

JavaScript
const result = triggerPedScenarioPanicexittoflee(p0, p1, p2, p3);
Lua
local result = triggerPedScenarioPanicexittoflee(p0, p1, p2, p3)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany
p1Anyanyany
p2Anyanyany
p3Anyanyany

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL TRIGGER_PED_SCENARIO_PANICEXITTOFLEE(Any p0, Any p1, Any p2, Any p3)
Hash
0x25361A96E0F7E419

Open in the interactive natives reference