ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setWaterDrawnLast

Function

setWaterDrawnLast

ServerWorldIdentical to MTA:SA

Stores whether water should be drawn last (this affects how transparent objects under water look).

Syntax

bool setWaterDrawnLast(bool enabled)

Arguments

enabledbool
true = water last.

Returns

true on success.

Example

setWaterDrawnLast(true)

Notes

State for scripts. The drawing order in the game does not change.

See also