MoneyClientNot in this build

networkGetMpWindfallAvailable

NETWORK_GET_MP_WINDFALL_AVAILABLE

The GTA V native NETWORK_GET_MP_WINDFALL_AVAILABLE of the MONEY namespace, as LS:MP client scripts call it: the global function networkGetMpWindfallAvailable, in JavaScript and in Lua.

SignatureJavaScript
networkGetMpWindfallAvailable(): boolean
SignatureLua
networkGetMpWindfallAvailable(): boolean
⚠
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
const result = networkGetMpWindfallAvailable();
Lua
local result = networkGetMpWindfallAvailable()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Money MONEY
In the game
BOOL NETWORK_GET_MP_WINDFALL_AVAILABLE()

Open in the interactive natives reference