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

This template will be deleted.

See Also