<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/ES/onClientVehicleEnter?action=history&amp;feed=atom</id>
	<title>ES/onClientVehicleEnter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/ES/onClientVehicleEnter?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ES/onClientVehicleEnter&amp;action=history"/>
	<updated>2026-05-06T06:51:26Z</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/onClientVehicleEnter&amp;diff=30668&amp;oldid=prev</id>
		<title>Kzman: Added interwiki (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ES/onClientVehicleEnter&amp;diff=30668&amp;oldid=prev"/>
		<updated>2012-05-14T00:36:15Z</updated>

		<summary type="html">&lt;p&gt;Added interwiki (EN)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:36, 14 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Funciones cliente de eventoss===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Funciones cliente de eventoss===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Funciones cliente de eventos}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Funciones cliente de eventos}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[en:onClientVehicleEnter]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-30658:rev-30668 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kzman</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ES/onClientVehicleEnter&amp;diff=30658&amp;oldid=prev</id>
		<title>Kzman: Created page with &quot;{{Client event}} __NOTOC__ Este evento se activa cuando un jugador entra a un vehículo.  ==Parametros== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; player elJugador, int asiento &lt;/syntaxhighlight&gt; *'''elJugador:''' el ju...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ES/onClientVehicleEnter&amp;diff=30658&amp;oldid=prev"/>
		<updated>2012-05-13T23:27:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client event}} __NOTOC__ Este evento se activa cuando un jugador entra a un vehículo.  ==Parametros== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; player elJugador, int asiento &amp;lt;/syntaxhighlight&amp;gt; *&amp;#039;&amp;#039;&amp;#039;elJugador:&amp;#039;&amp;#039;&amp;#039; el ju...&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 se activa cuando un jugador entra a un vehículo.&lt;br /&gt;
&lt;br /&gt;
==Parametros==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
player elJugador, int asiento&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''elJugador:''' el jugador que entró al vehículo&lt;br /&gt;
*'''asiento:''' el número de asiento donde el jugador esta sentado. 0 = conductor, los números más altos son de pasajeros.&lt;br /&gt;
&lt;br /&gt;
==Origen==&lt;br /&gt;
La variable source de este evento corresponde al vehículo donde entró el jugador.&lt;br /&gt;
&lt;br /&gt;
==Ejemplo==&lt;br /&gt;
En este ejemplo se actualiza una etiqueta GUI con el nombre del vehículo en el cual está el jugador.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
lblVehicle = guiCreateLabel(10, 200, 150, 20, &amp;quot;Actualmente a pie&amp;quot;, false)&lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleEnter&amp;quot;, getRootElement(),&lt;br /&gt;
    function(elJugador, asiento)&lt;br /&gt;
        if elJugador == getLocalPlayer() then&lt;br /&gt;
            guiSetText(lblVehicle, &amp;quot;Actualmente en un &amp;quot; .. getVehicleName(source))&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
addEventHandler(&amp;quot;OnClientVehicleExit&amp;quot;, getRootElement(),&lt;br /&gt;
    function(elJugador, asiento)&lt;br /&gt;
        if elJugador == getLocalPlayer() then&lt;br /&gt;
            guiSetText(lblVehicle, &amp;quot;Actualmente a pie&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&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;/div&gt;</summary>
		<author><name>Kzman</name></author>
	</entry>
</feed>