procgrassIsCullsphereEnabled
PROCGRASS_IS_CULLSPHERE_ENABLED0x2C42340F916C5930The 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.
procgrassIsCullsphereEnabled(handle: number): booleanprocgrassIsCullsphereEnabled(handle: integer): booleanUsage
JavaScript
const result = procgrassIsCullsphereEnabled(handle);Lua
local result = procgrassIsCullsphereEnabled(handle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
handle | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanOn 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