loadGlobalWaterFile
LOAD_GLOBAL_WATER_FILE0x7E3F55ED251B76D3The 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.
loadGlobalWaterFile(waterType: number): voidloadGlobalWaterFile(waterType: integer)Usage
JavaScript
loadGlobalWaterFile(waterType);Lua
loadGlobalWaterFile(waterType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
waterType | int | number | integer |
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