DxGetBlendMode: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ This function returns the current blend mode for the dxDraw functions. The blend mode is set using dxSetBlendMode ==Syntax== <syntaxhighlight lang="lua"> str...")
 
No edit summary
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
string dxGetBlendMode( )
string dxGetBlendMode ( )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 19:23, 20 September 2012

This function returns the current blend mode for the dxDraw functions. The blend mode is set using dxSetBlendMode

Syntax

string dxGetBlendMode ( )

Returns

Returns the current blend mode, which can be one of:

  • blend
  • add
  • modulate_add

Example

TODO

Requirements

Minimum server version n/a
Minimum client version 1.3.0-9.03782

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.0-9.03782" />

See Also