setEntityUseMaxDistanceForWaterReflection
SET_ENTITY_USE_MAX_DISTANCE_FOR_WATER_REFLECTION0x1A092BB0C3808B96The GTA V native SET_ENTITY_USE_MAX_DISTANCE_FOR_WATER_REFLECTION of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityUseMaxDistanceForWaterReflection, in JavaScript and in Lua.
setEntityUseMaxDistanceForWaterReflection(entity: Entity, p1: boolean): voidsetEntityUseMaxDistanceForWaterReflection(entity: Entity, p1: boolean)Usage
JavaScript
setEntityUseMaxDistanceForWaterReflection(entity, p1);Lua
setEntityUseMaxDistanceForWaterReflection(entity, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_USE_MAX_DISTANCE_FOR_WATER_REFLECTION(Entity entity, BOOL p1)- Hash
0x1A092BB0C3808B96