HU/getBlipOrdering: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{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. Blips with...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Shared function hu}}
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.
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==  
==Syntax==  
<syntaxhighlight lang="lua">int getBlipOrdering ( blip theBlip )</syntaxhighlight>
<syntaxhighlight lang="lua">int getBlipOrdering ( blip theBlip )</syntaxhighlight>
{{OOP||[[blip]]:getOrdering|ordering|setBlipOrdering}}
{{OOP||[[blip]]:getOrdering|ordering|setBlipOrdering}}
===Required Arguments===
===Kötelező argumentumok===
*'''theBlip:''' the blip to retrieve the Z ordering value of.
*'''theBlip:''' Visszaadja a Z tengelyen való értékét a blipnek.


===Returns===
===Visszaadott érték===
Returns the Z ordering value of the blip if successful, ''false'' otherwise.
Visszaadja a blip Z tengely értékét, ha sikeresen lefutott, egyébként ''false''.


==Example==
==Példa==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
function getMyBlip(theBlip)
function getMyBlip(theBlip)
Line 22: Line 21:
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==Lásd még==
{{Blip functions}}
{{Blip functions hu}}
 
[[en:getBlipOrdering]]


[[hu:getBlipOrdering]]
==Fordította==
* '''''[https://wiki.multitheftauto.com/wiki/User:Surge Surge]'''''

Latest revision as of 13:01, 21 August 2018

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