<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DxLabel?action=history&amp;feed=atom</id>
	<title>DxLabel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DxLabel?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxLabel&amp;action=history"/>
	<updated>2026-05-11T03:04:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxLabel&amp;diff=80638&amp;oldid=prev</id>
		<title>BR4: Created page with &quot;__NOTOC__  {{Client function}} Esta función crea una etiqueta de texto DX.  &lt;small&gt;'''&lt;span style=&quot;color:#ff0000; text-shadow:black 0em 0.1em 0.1em;&quot;&gt;''Aviso: Esta es una función exportada por Modern-Library!''&lt;/span&gt;'''&lt;/small&gt; ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; element dxLabel( int x, int y, int w, int h, string texto, [ element parent = nil , string alignX = 'left', string alignY = 'top', int outline = nil, int colorText = tocolor(255, 255, 255, 255), int...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxLabel&amp;diff=80638&amp;oldid=prev"/>
		<updated>2024-10-06T08:35:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} Esta función crea una etiqueta de texto DX.  &amp;lt;small&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:#ff0000; text-shadow:black 0em 0.1em 0.1em;&amp;quot;&amp;gt;&amp;#039;&amp;#039;Aviso: Esta es una función exportada por &lt;a href=&quot;/wiki/Modern-Library&quot; title=&quot;Modern-Library&quot;&gt;Modern-Library&lt;/a&gt;!&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/small&amp;gt; ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; element dxLabel( int x, int y, int w, int h, string texto, [ element parent = nil , string alignX = &amp;#039;left&amp;#039;, string alignY = &amp;#039;top&amp;#039;, int outline = nil, int colorText = tocolor(255, 255, 255, 255), int...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Esta función crea una etiqueta de texto DX.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;'''&amp;lt;span style=&amp;quot;color:#ff0000; text-shadow:black 0em 0.1em 0.1em;&amp;quot;&amp;gt;''Aviso: Esta es una función exportada por [[Modern-Library]]!''&amp;lt;/span&amp;gt;'''&amp;lt;/small&amp;gt;&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dxLabel( int x, int y, int w, int h, string texto, [ element parent = nil , string alignX = 'left', string alignY = 'top', int outline = nil, int colorText = tocolor(255, 255, 255, 255), int colorBorder = tocolor(255, 255, 255, 255), bool guiCoord = false] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argumentos requeridos===&lt;br /&gt;
* '''x''': Un entero que representa la posición X de la pantalla.&lt;br /&gt;
* '''y''': Un entero que representa la posición Y de la pantalla.&lt;br /&gt;
* '''w''': Un entero que representa el ancho del [[dxLabel]].&lt;br /&gt;
* '''h''': Un entero que representa la altura del [[dxLabel]].&lt;br /&gt;
* '''texto''': Una cadena de texto que representa el '''titulo''' visible.&lt;br /&gt;
&lt;br /&gt;
===Argumentos Opcionales===&lt;br /&gt;
* '''parent''': Este es el padre el cual la [https://wiki.multitheftauto.com/wiki/dxLabel dxLabel] se adjunta.&lt;br /&gt;
* '''alignX''': Realineación horizontal (''''izquierda'''', ''''centro'''' o ''''derecha''''): 'left', 'center', 'right'..&lt;br /&gt;
* '''alignY''': Realineación vertical ('arriba', 'centro' o 'abajo'): 'top', 'center', 'bottom'..&lt;br /&gt;
* '''outline''': Un número entero que representa el peso del contorno del texto.&lt;br /&gt;
* '''colortext''': El color del texto, un valor producido por [https://wiki.multitheftauto.com/wiki/Tocolor tocolor] o 0xAARRGGBB (AA = alfa, RR = rojo, GG = verde, BB = azul).&lt;br /&gt;
* '''colorborder''': El color del borde del texto, un valor producido por [https://wiki.multitheftauto.com/wiki/Tocolor tocolor] o 0xAARRGGBB (AA = alfa, RR = rojo, GG = verde, BB = azul).&lt;br /&gt;
* '''guiCoord''': Suma de valores para adaptar el tamaño a su respectivo '''parent'''. usa [https://wiki.multitheftauto.com/wiki/Boolean true] para habilitarlo.&lt;br /&gt;
&lt;br /&gt;
==Ejemplo== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Activación de la libreria&lt;br /&gt;
&lt;br /&gt;
loadstring(exports.dxlibrary:dxGetLibrary())()&lt;br /&gt;
&lt;br /&gt;
-- Texto de Ejemplo&lt;br /&gt;
&lt;br /&gt;
dxLabel(282, 212, 780, 226, 'Label Test', false)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ver también==&lt;br /&gt;
{{DXLIB_FUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>BR4</name></author>
	</entry>
</feed>