PlayerClient

setIgnoreLowPriorityShockingEvents

SET_IGNORE_LOW_PRIORITY_SHOCKING_EVENTS0x596976B02B6B5700

The GTA V native SET_IGNORE_LOW_PRIORITY_SHOCKING_EVENTS of the PLAYER namespace, as LS:MP client scripts call it: the global function setIgnoreLowPriorityShockingEvents, in JavaScript and in Lua.

SignatureJavaScript
setIgnoreLowPriorityShockingEvents(player: Player, toggle: boolean): void
SignatureLua
setIgnoreLowPriorityShockingEvents(player: Player, toggle: boolean)

Usage

JavaScript
setIgnoreLowPriorityShockingEvents(player, toggle);
Lua
setIgnoreLowPriorityShockingEvents(player, toggle)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Player PLAYER
In the game
void SET_IGNORE_LOW_PRIORITY_SHOCKING_EVENTS(Player player, BOOL toggle)
Hash
0x596976B02B6B5700

Open in the interactive natives reference