setEntityWaterReflectionFlag
SET_ENTITY_WATER_REFLECTION_FLAG0xC34BC448DA29F5E9The GTA V native SET_ENTITY_WATER_REFLECTION_FLAG of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityWaterReflectionFlag, in JavaScript and in Lua.
setEntityWaterReflectionFlag(entity: Entity, toggle: boolean): voidsetEntityWaterReflectionFlag(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityWaterReflectionFlag(entity, toggle);Lua
setEntityWaterReflectionFlag(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_WATER_REFLECTION_FLAG(Entity entity, BOOL toggle)- Hash
0xC34BC448DA29F5E9- Introduced
- Game build 573 legacy numbering