setGrassCullSphere
SET_GRASS_CULL_SPHERE0xBE197EAA669238F4The GTA V native SET_GRASS_CULL_SPHERE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setGrassCullSphere, in JavaScript and in Lua.
setGrassCullSphere(p0: number, p1: number, p2: number, p3: number): numbersetGrassCullSphere(p0: number, p1: number, p2: number, p3: number): integerUsage
JavaScript
const result = setGrassCullSphere(p0, p1, p2, p3);Lua
local result = setGrassCullSphere(p0, p1, p2, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | float | number | number |
p1 | float | number | number |
p2 | float | number | number |
p3 | float | number | number |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This function is hard-coded to always return 0.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
int SET_GRASS_CULL_SPHERE(float p0, float p1, float p2, float p3)- Hash
0xBE197EAA669238F4