GraphicsClient

grassbatchDisableFlattening

GRASSBATCH_DISABLE_FLATTENING0x302C91AB2D477F7E

The GTA V native GRASSBATCH_DISABLE_FLATTENING of the GRAPHICS namespace, as LS:MP client scripts call it: the global function grassbatchDisableFlattening, in JavaScript and in Lua.

SignatureJavaScript
grassbatchDisableFlattening(): void
SignatureLua
grassbatchDisableFlattening()

Usage

JavaScript
grassbatchDisableFlattening();
Lua
grassbatchDisableFlattening()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void GRASSBATCH_DISABLE_FLATTENING()
Hash
0x302C91AB2D477F7E
Formerly
_GRASS_LOD_RESET_SCRIPT_AREAS

Open in the interactive natives reference