networkExpectExplosionEventsForPlayer
_NETWORK_EXPECT_EXPLOSION_EVENTS_FOR_PLAYER0x5241DB47A8B8AD54The 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.
networkExpectExplosionEventsForPlayer(expect: boolean, player: Player): voidnetworkExpectExplosionEventsForPlayer(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
expect | BOOL | boolean | boolean |
player | Player | number | integer |
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