FireClientNot in this build

networkExpectExplosionEventsForPlayer

_NETWORK_EXPECT_EXPLOSION_EVENTS_FOR_PLAYER0x5241DB47A8B8AD54

The GTA V native _NETWORK_EXPECT_EXPLOSION_EVENTS_FOR_PLAYER of the FIRE namespace, as LS:MP client scripts call it: the global function networkExpectExplosionEventsForPlayer, in JavaScript and in Lua.

SignatureJavaScript
networkExpectExplosionEventsForPlayer(expect: boolean, player: Player): void
SignatureLua
networkExpectExplosionEventsForPlayer(expect: boolean, player: Player)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
networkExpectExplosionEventsForPlayer(expect, player);
Lua
networkExpectExplosionEventsForPlayer(expect, player)

Parameters

ParameterTypeJavaScriptLua
expectBOOLbooleanboolean
playerPlayernumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Fire FIRE
In the game
void _NETWORK_EXPECT_EXPLOSION_EVENTS_FOR_PLAYER(BOOL expect, Player player)
Hash
0x5241DB47A8B8AD54
Introduced
Game build 3570 legacy numbering

Open in the interactive natives reference