resetWaterColor
Client-side
Server-side
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!
- Method:Water.)(...)
Syntax
bool resetWaterColor ( )Returns
- bool: value
Returns true if water color was reset correctly, false otherwise.
Code Examples
shared
This example adds a commandresetwatercolorwith which a player can reset the water colour.
function changeWaterBackToNormal () resetWaterColor ()endaddCommandHandler ( "resetwatercolor", changeWaterBackToNormal )