disableInWaterPtfx
DISABLE_IN_WATER_PTFX0xCFD16F0DB5A3535CThe GTA V native DISABLE_IN_WATER_PTFX of the GRAPHICS namespace, as LS:MP client scripts call it: the global function disableInWaterPtfx, in JavaScript and in Lua.
disableInWaterPtfx(toggle: boolean): voiddisableInWaterPtfx(toggle: boolean)Usage
JavaScript
disableInWaterPtfx(toggle);Lua
disableInWaterPtfx(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void DISABLE_IN_WATER_PTFX(BOOL toggle)- Hash
0xCFD16F0DB5A3535C- Introduced
- Game build 2060 legacy numbering