Skip to content

resetWaterColor

Shared

Manual Review Required

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.

OOP Syntax Help! I don't understand this!

Syntax

bool resetWaterColor ( )

Returns

Returns true if water color was reset correctly, false otherwise.

  • bool: value

Code Examples

shared

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

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