ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getWaterColor

Function

getWaterColor

Server and clientWorldIdentical to MTA:SA

Returns the water colour stored with setWaterColor.

Syntax

int, int, int, int getWaterColor()

Returns

r, g, b, a, or false.

Example

local r, g, b, a = getWaterColor()

See also