ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. dxSetBlendMode

Function

dxSetBlendMode

ClientDrawing (dx)Identical to MTA:SA

Sets the colour blending mode for drawing (blend, add, modulate_add, overwrite). The value is stored for compatibility with existing scripts (dxGetBlendMode), but drawing always uses normal blending.

Syntax

bool dxSetBlendMode(string blendMode)

Arguments

blendModestring
The mode.

Returns

true.

Example

dxSetBlendMode("add")

See also