<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hetachi</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hetachi"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Hetachi"/>
	<updated>2026-06-04T10:51:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Label::Label&amp;diff=11207</id>
		<title>Label::Label</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Label::Label&amp;diff=11207"/>
		<updated>2018-07-07T18:16:33Z</updated>

		<summary type="html">&lt;p&gt;Hetachi: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Creates a label in your world.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
{{Shared}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.labels.new(text, position,&lt;br /&gt;
{&lt;br /&gt;
    los: los,&lt;br /&gt;
    font: font,&lt;br /&gt;
    drawDistance: drawDistance,&lt;br /&gt;
    color: color,&lt;br /&gt;
    dimension: dimension&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span style=&amp;quot;font-weight:bold; color:red;&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;text&#039;&#039;&#039;: {{RageType|String}}&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span style=&amp;quot;font-weight:bold; color:red;&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;position&#039;&#039;&#039;: {{RageType|Vector3}}&lt;br /&gt;
*&#039;&#039;&#039;los&#039;&#039;&#039;: {{RageType|Boolean}} - Line of Sight (Text will hide if blocked by an entity).&lt;br /&gt;
*&#039;&#039;&#039;font&#039;&#039;&#039;: {{RageType|Number}} ([[Fonts_and_Colors#DrawText_Fonts|Font Types]])&lt;br /&gt;
*&#039;&#039;&#039;drawDistance&#039;&#039;&#039;: {{RageType|Number}}&lt;br /&gt;
*&#039;&#039;&#039;color&#039;&#039;&#039;: {{RageType|[Number, Number, Number, Number]}}&lt;br /&gt;
*&#039;&#039;&#039;dimension&#039;&#039;&#039;: {{RageType|dimension}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-weight:bold; color:red;&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt; = Required&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Creates a label with the text &amp;quot;Welcome to Los Santos&amp;quot;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.labels.new(&amp;quot;Welcome to Los Santos&amp;quot;, new mp.Vector3(-431.88, 1146.86, 327),&lt;br /&gt;
    {&lt;br /&gt;
        los: true,&lt;br /&gt;
        font: 1,&lt;br /&gt;
        drawDistance: 100,&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Labels also supports multiple lines of text, this can be achieved using &amp;quot;\n&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{Label_definition}}&lt;/div&gt;</summary>
		<author><name>Hetachi</name></author>
	</entry>
</feed>