PedClient

setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame

SET_BLOCKING_OF_NON_TEMPORARY_EVENTS_FOR_AMBIENT_PEDS_THIS_FRAME0x9911F4A24485F653

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

SignatureJavaScript
setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame(p0: boolean): void
SignatureLua
setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame(p0: boolean)

Usage

JavaScript
setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame(p0);
Lua
setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_BLOCKING_OF_NON_TEMPORARY_EVENTS_FOR_AMBIENT_PEDS_THIS_FRAME(BOOL p0)
Hash
0x9911F4A24485F653

Open in the interactive natives reference