<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/ES/onClientTrailerAttach?action=history&amp;feed=atom</id>
	<title>ES/onClientTrailerAttach - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/ES/onClientTrailerAttach?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ES/onClientTrailerAttach&amp;action=history"/>
	<updated>2026-04-23T19:27:28Z</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=ES/onClientTrailerAttach&amp;diff=30663&amp;oldid=prev</id>
		<title>Kzman: Created page with &quot;{{Client event}} __NOTOC__  Este evento es provocado cuando un tráiler se acopla a un vehiculo de remolque.  ==Parámetros== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; vehicle remolcadoPor &lt;/syntaxhighlight&gt; *'''remol...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ES/onClientTrailerAttach&amp;diff=30663&amp;oldid=prev"/>
		<updated>2012-05-14T00:02:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client event}} __NOTOC__  Este evento es provocado cuando un tráiler se acopla a un vehiculo de remolque.  ==Parámetros== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; vehicle remolcadoPor &amp;lt;/syntaxhighlight&amp;gt; *&amp;#039;&amp;#039;&amp;#039;remol...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
Este evento es provocado cuando un tráiler se acopla a un vehiculo de remolque.&lt;br /&gt;
&lt;br /&gt;
==Parámetros==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
vehicle remolcadoPor&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''remolcadoPor:''' el vehículo que remolca al tráiler.&lt;br /&gt;
&lt;br /&gt;
==Origen==&lt;br /&gt;
La variable source de este evento corresponde al tráiler que está siendo remolcado.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
En este ejemplo se envía al chat el nombre del vehículo que acopla a un trailer.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function onAttach(vehicle)&lt;br /&gt;
	local name = getVehicleName(vehicle)&lt;br /&gt;
	outputChatBox(name..&amp;quot; acopló el remolque&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientTrailerAttach&amp;quot;, getRootElement(), onAttach)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vea también==&lt;br /&gt;
===Eventos cliente de vehículos===&lt;br /&gt;
{{Eventos cliente de vehículos}}&lt;br /&gt;
===Funciones cliente de eventoss===&lt;br /&gt;
{{Funciones cliente de eventos}}&lt;br /&gt;
&lt;br /&gt;
[[en:onClientTrailerAttach]]&lt;/div&gt;</summary>
		<author><name>Kzman</name></author>
	</entry>
</feed>