GetBlipOrdering

From Multi Theft Auto: Wiki

(Difference between revisions)
Jump to: navigation, search
(Learn to indent and now have blatant grammatical errors in examples)
 
Line 24: Line 24:
==See Also==
==See Also==
{{Blip functions}}
{{Blip functions}}
-
[[Category:Needs Example]]
 

Latest revision as of 05:38, 21 November 2011

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. Blips with a higher Z ordering value appear on top of blips with a lower value. The default value for all blips is 0.

Syntax

Required Arguments

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

Returns

Returns the Z ordering value of the blip if successful, false otherwise.

Example

function getMyBlip(theBlip)
    local ordering = getBlipOrdering ( theBlip )
    if (ordering) then
        outputChatBox("The following blip has a ordering of "..ordering)
    end
end

See Also