StreamingClient

loadGlobalWaterFile

LOAD_GLOBAL_WATER_FILE0x7E3F55ED251B76D3

The GTA V native LOAD_GLOBAL_WATER_FILE of the STREAMING namespace, as LS:MP client scripts call it: the global function loadGlobalWaterFile, in JavaScript and in Lua.

SignatureJavaScript
loadGlobalWaterFile(waterType: number): void
SignatureLua
loadGlobalWaterFile(waterType: integer)

Usage

JavaScript
loadGlobalWaterFile(waterType);
Lua
loadGlobalWaterFile(waterType)

Parameters

ParameterTypeJavaScriptLua
waterTypeintnumberinteger

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.

0 - default
1 - HeistIsland

Reference

Namespace
Streaming STREAMING
In the game
void LOAD_GLOBAL_WATER_FILE(int waterType)
Hash
0x7E3F55ED251B76D3
Introduced
Game build 2189 legacy numbering
Formerly
_LOAD_GLOBAL_WATER_TYPE

Open in the interactive natives reference