SetWaterDrawnLast: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{New feature/item|4.0140|1.3.0|4585|
{{New feature/item|4.0140|1.3.0|4585|
This function change [[water]] rendering order.
This function change [[water]] rendering order.
}}<br />
}}
<br />


__NOTOC__
==Syntax==
{{Client function}}
<syntaxhighlight lang="lua">bool setWaterDrawLast ( bool bEnabled )</syntaxhighlight>
 
<syntaxhighlight lang="lua">
bool setWaterDrawLast( bool bEnabled )
</syntaxhighlight>


===Required Arguments===
===Required Arguments===
Line 18: Line 13:
===Returns===
===Returns===
Returns ''true'' if set water drawn last is successfully, ''false'' otherwise.
Returns ''true'' if set water drawn last is successfully, ''false'' otherwise.
==Example==
TODO
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==Requirements==
==Requirements==

Revision as of 13:07, 17 September 2012

ADDED/UPDATED IN VERSION 1.3.0 r4585:

This function change water rendering order.

Syntax

bool setWaterDrawLast ( bool bEnabled )

Required Arguments

  • bEnabled: A boolean value determining water drawn last.

Returns

Returns true if set water drawn last is successfully, false otherwise.

Example

TODO

--TODO

Requirements

Minimum server version n/a
Minimum client version 1.3.0.04585

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.04585" />

See Also