ResetWaterColor: Difference between revisions
Jump to navigation
Jump to search
OpenIDUser28 (talk | contribs) mNo edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{New_feature|3.0110|1.1| | {{New_feature|3.0110|1.1| | ||
Only available client-side for 1.0.x | |||
}} | }} | ||
Revision as of 12:04, 13 September 2011
This function reset the water color of the GTA world to default.
Only available client-side for 1.0.x
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