PedClient

setPedShouldIgnoreScenarioExitCollisionChecks

SET_PED_SHOULD_IGNORE_SCENARIO_EXIT_COLLISION_CHECKS0x425AECF167663F48

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

SignatureJavaScript
setPedShouldIgnoreScenarioExitCollisionChecks(ped: Ped, p1: boolean): void
SignatureLua
setPedShouldIgnoreScenarioExitCollisionChecks(ped: Ped, p1: boolean)

Usage

JavaScript
setPedShouldIgnoreScenarioExitCollisionChecks(ped, p1);
Lua
setPedShouldIgnoreScenarioExitCollisionChecks(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_SHOULD_IGNORE_SCENARIO_EXIT_COLLISION_CHECKS(Ped ped, BOOL p1)
Hash
0x425AECF167663F48

Open in the interactive natives reference