ResetWaterColor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{Server client function}} | {{Server client function}} | ||
This function reset the water color of the GTA world to default. | This function reset the water color of the GTA world to default. | ||
==Syntax== | ==Syntax== |
Revision as of 16:19, 5 August 2012
This function reset the water color of the GTA world to default.
Syntax
bool resetWaterColor ( )
Returns
Returns true if water color was reset correctly, false otherwise.
Example
This example adds a command resetwatercolor with which a player can reset the water colour.
function changeWaterBackToNormal () resetWaterColor () end addCommandHandler ( "resetwatercolor", changeWaterBackToNormal )
See Also
- getWaterLevel
- isWaterDrawnLast
- setWaterDrawnLast
- Shared
- createWater
- getWaterColor
- getWaterVertexPosition
- getWaveHeight
- resetWaterColor
- resetWaterLevel
- setWaterColor
- setWaterLevel
- setWaterVertexPosition
- setWaveHeight