PedClient

setPedShouldIgnoreScenarioNavChecks

SET_PED_SHOULD_IGNORE_SCENARIO_NAV_CHECKS0x5B6010B3CBC29095

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

SignatureJavaScript
setPedShouldIgnoreScenarioNavChecks(p0: any, p1: boolean): void
SignatureLua
setPedShouldIgnoreScenarioNavChecks(p0: any, p1: boolean)

Usage

JavaScript
setPedShouldIgnoreScenarioNavChecks(p0, p1);
Lua
setPedShouldIgnoreScenarioNavChecks(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_SHOULD_IGNORE_SCENARIO_NAV_CHECKS(Any p0, BOOL p1)
Hash
0x5B6010B3CBC29095

Open in the interactive natives reference