resetWaterColor | Multi Theft Auto: Wiki Skip to content

resetWaterColor

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function reset the water color of the GTA world to default.

Syntax

resetWaterColor ( )

Code Examples

server

This example adds a commandresetwatercolorwith which a player can reset the water colour.

function changeWaterBackToNormal ()
resetWaterColor ()
end
addCommandHandler ( "resetwatercolor", changeWaterBackToNormal )