GetBlipOrdering: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: This gets the Z ordering of blips, i.e. which blips appear on top of which others. ==Syntax== <syntaxhighlight lang="lua">int getBlipOrdering ( blip theBlip )</syntaxhighlight>)
 
No edit summary
Line 1: Line 1:
This gets the Z ordering of blips, i.e. which blips appear on top of which others.
{{Server client function}}
This function gets the Z ordering value of a blip. The Z ordering determines if a blip appears on top of or below other blips.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">int getBlipOrdering ( blip theBlip )</syntaxhighlight>
<syntaxhighlight lang="lua">int getBlipOrdering ( blip theBlip )</syntaxhighlight>
===Required Arguments===
*'''theBlip:''' the blip to retrieve the Z ordering value of.
===Returns===
Returns the Z ordering value if successful, ''false'' otherwise.
Blips with a higher Z ordering value appear on top of blips with a lower value. The default value for all blips is 0.
==See Also==
{{Blip functions}}

Revision as of 20:16, 6 September 2008

This function gets the Z ordering value of a blip. The Z ordering determines if a blip appears on top of or below other blips.

Syntax

int getBlipOrdering ( blip theBlip )

Required Arguments

  • theBlip: the blip to retrieve the Z ordering value of.

Returns

Returns the Z ordering value if successful, false otherwise.

Blips with a higher Z ordering value appear on top of blips with a lower value. The default value for all blips is 0.

See Also