HU/getBlipOrdering

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Ez a funkció megadja a Z tengelyen levő blip érték sorrendjét. A Z tengely meghatározza, hogy a blip megjelenik-e más blipek alatt vagy felett. A Z tengelyen magasabb értékkel rendelkező blipek hamarabb jelennek meg az alacsonyabbakhoz képest. Minden blips alapértelmezett értéke a 0.

Szintaxis

int getBlipOrdering ( blip theBlip )

OOP Syntax Help! I don't understand this!

Method: blip:getOrdering(...)
Variable: .ordering
Counterpart: setBlipOrdering


Kötelező argumentumok

  • theBlip: Visszaadja a Z tengelyen való értékét a blipnek.

Visszaadott érték

Visszaadja a blip Z tengely értékét, ha sikeresen lefutott, egyébként false.

Példa

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

Lásd még

Fordította