GraphicsClientChecked by LS:MP

procgrassIsCullsphereEnabled

PROCGRASS_IS_CULLSPHERE_ENABLED0x2C42340F916C5930

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

SignatureJavaScript
procgrassIsCullsphereEnabled(handle: number): boolean
SignatureLua
procgrassIsCullsphereEnabled(handle: integer): boolean

Usage

JavaScript
const result = procgrassIsCullsphereEnabled(handle);
Lua
local result = procgrassIsCullsphereEnabled(handle)

Parameters

ParameterTypeJavaScriptLua
handleintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

On LS:MP

ℹ
Checked by LS:MP

handle must be between 0 and 7. Otherwise the call is ignored and returns false: nothing reaches the game, and no error is raised.

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL PROCGRASS_IS_CULLSPHERE_ENABLED(int handle)
Hash
0x2C42340F916C5930

Open in the interactive natives reference