<?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=Epoxi</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=Epoxi"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Epoxi"/>
	<updated>2026-06-23T13:41:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PlayerEnterVehicle&amp;diff=7652</id>
		<title>PlayerEnterVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PlayerEnterVehicle&amp;diff=7652"/>
		<updated>2017-11-03T22:53:58Z</updated>

		<summary type="html">&lt;p&gt;Epoxi: /* Example */ typo in code snippet&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This event is triggered when a player started get into vehicle.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
* &#039;&#039;&#039;player&#039;&#039;&#039;  - player, which sits down.&lt;br /&gt;
* &#039;&#039;&#039;vehicle&#039;&#039;&#039; - vehicle in which the player sits.&lt;br /&gt;
* &#039;&#039;&#039;seat&#039;&#039;&#039;  - the place where he sits down.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs chat message, when player get into vehicle.&lt;br /&gt;
&amp;lt;div class=&amp;quot;header&amp;quot; style=&amp;quot;background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 10px 10px 10px 10px;&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Server-Side&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot; style=&amp;quot;width: 98%; background-color: #E4F1FE;&amp;quot;&amp;gt;&lt;br /&gt;
function playerEnterVehicleHandler(player, vehicle, seat) {&lt;br /&gt;
   const playerName = player.name;&lt;br /&gt;
   const vehicleID = vehicle.id;&lt;br /&gt;
&lt;br /&gt;
   mp.players.broadcast(`${playerName} started to get into the car ID: ${vehicleID}. Seat: ${seat}`);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
mp.events.add(&amp;quot;playerEnterVehicle&amp;quot;, playerEnterVehicleHandler);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_events}}&lt;/div&gt;</summary>
		<author><name>Epoxi</name></author>
	</entry>
</feed>