SetBlipOrdering: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (Needs example)
Line 9: Line 9:
*'''theBlip:''' the blip whose Z ordering to change.
*'''theBlip:''' the blip whose Z ordering to change.
*'''ordering:''' the new Z ordering value. Blips with higher values will appear on top of blips with lower values. The default value is 0. Negative values are allowed.
*'''ordering:''' the new Z ordering value. Blips with higher values will appear on top of blips with lower values. The default value is 0. Negative values are allowed.
===Returns===
Returns ''true'' if the blip ordering was changed successfully, ''false'' otherwise.
==Example==
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==See Also==
==See Also==
{{Blip functions}}
{{Blip functions}}
[[Category:Needs Example]]

Revision as of 18:00, 18 June 2009

This function sets the Z ordering of a blip. It allows you to make a blip appear on top of or below other blips.

Syntax

bool setBlipOrdering ( blip theBlip, int ordering )

Required Arguments

  • theBlip: the blip whose Z ordering to change.
  • ordering: the new Z ordering value. Blips with higher values will appear on top of blips with lower values. The default value is 0. Negative values are allowed.

Returns

Returns true if the blip ordering was changed successfully, false otherwise.

Example

--TODO

See Also