MiscClient

forceLightningFlash

FORCE_LIGHTNING_FLASH0xF6062E089251C898

The GTA V native FORCE_LIGHTNING_FLASH of the MISC namespace, as LS:MP client scripts call it: the global function forceLightningFlash, in JavaScript and in Lua.

SignatureJavaScript
forceLightningFlash(): void
SignatureLua
forceLightningFlash()

Usage

JavaScript
forceLightningFlash();
Lua
forceLightningFlash()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

creates single lightning+thunder at random position

Reference

Namespace
Misc MISC
In the game
void FORCE_LIGHTNING_FLASH()
Hash
0xF6062E089251C898
Formerly
_CREATE_LIGHTNING_THUNDER

Open in the interactive natives reference