Element/Blip: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (Добавление языков)
 
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Needs Checking|Needs XML syntax. --[[User:Jbeta|jbeta]] 13:08, 30 August 2007 (CDT)}}
The blip class represents small icons or blips that can be shown on a player's radar.
The blip class represents small icons or blips that can be shown on a player's radar.


The element type of this class is '''"blip"'''.
The element type of this class is '''"blip"'''. The list of blip icons are available on the [[Radar Blips]] page.
 
==XML syntax==
<syntaxhighlight lang="xml">
<blip posX="" posY="" posZ="" icon="" color="" dimension="" ordering=""/>
</syntaxhighlight>
 
===Required Attributes===
* '''posX''': A float representing the X position of the blip.
* '''posY''': A float representing the Y position of the blip.
* '''posZ''': A float representing the Z position of the blip.
 
===Optional Attributes===
* '''color:''' The color of the icon in HTML-style format (i.e. #RRGGBB). Defaults to blue if not specified.
* '''icon:''' The icon of the blip. Defaults to 0 if not specified.
* '''dimension:''' The dimension of the blip. Defaults to 0 if not specified.
* '''ordering:''' The Z-level ordering of the blip. Defaults to 0 if not specified.


==Related scripting functions==
==Related scripting functions==
Line 10: Line 25:
===Server===
===Server===
{{Blip_functions}}
{{Blip_functions}}
==Blip Icon References==
 
{{Blip Icons}}
[[Category:Element Types]]
 
[[en:Element/Blip]]
[[ru:Element/Blip]]
[[hu:Element/Blip]]
[[it:Elemento/Blip]]

Latest revision as of 10:07, 15 April 2021

The blip class represents small icons or blips that can be shown on a player's radar.

The element type of this class is "blip". The list of blip icons are available on the Radar Blips page.

XML syntax

<blip posX="" posY="" posZ="" icon="" color="" dimension="" ordering=""/>

Required Attributes

  • posX: A float representing the X position of the blip.
  • posY: A float representing the Y position of the blip.
  • posZ: A float representing the Z position of the blip.

Optional Attributes

  • color: The color of the icon in HTML-style format (i.e. #RRGGBB). Defaults to blue if not specified.
  • icon: The icon of the blip. Defaults to 0 if not specified.
  • dimension: The dimension of the blip. Defaults to 0 if not specified.
  • ordering: The Z-level ordering of the blip. Defaults to 0 if not specified.

Related scripting functions

Client

Shared



Server