NetworkClient

networkShouldShowPromotionAlertScreen

NETWORK_SHOULD_SHOW_PROMOTION_ALERT_SCREEN0x023ACAB2DC9DC4A4

The GTA V native NETWORK_SHOULD_SHOW_PROMOTION_ALERT_SCREEN of the NETWORK namespace, as LS:MP client scripts call it: the global function networkShouldShowPromotionAlertScreen, in JavaScript and in Lua.

SignatureJavaScript
networkShouldShowPromotionAlertScreen(): boolean
SignatureLua
networkShouldShowPromotionAlertScreen(): boolean

Usage

JavaScript
const result = networkShouldShowPromotionAlertScreen();
Lua
local result = networkShouldShowPromotionAlertScreen()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_SHOULD_SHOW_PROMOTION_ALERT_SCREEN()
Hash
0x023ACAB2DC9DC4A4
Introduced
Game build 1493 legacy numbering

Open in the interactive natives reference