EntityClient

setEntityUseMaxDistanceForWaterReflection

SET_ENTITY_USE_MAX_DISTANCE_FOR_WATER_REFLECTION0x1A092BB0C3808B96

The 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.

SignatureJavaScript
setEntityUseMaxDistanceForWaterReflection(entity: Entity, p1: boolean): void
SignatureLua
setEntityUseMaxDistanceForWaterReflection(entity: Entity, p1: boolean)

Usage

JavaScript
setEntityUseMaxDistanceForWaterReflection(entity, p1);
Lua
setEntityUseMaxDistanceForWaterReflection(entity, p1)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
p1BOOLbooleanboolean

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

Open in the interactive natives reference