<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=PlayerLeaveVehicle</id>
	<title>PlayerLeaveVehicle - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=PlayerLeaveVehicle"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=PlayerLeaveVehicle&amp;action=history"/>
	<updated>2026-07-25T07:03:03Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=PlayerLeaveVehicle&amp;diff=12561&amp;oldid=prev</id>
		<title>imported&gt;LightScribe в 12:25, 27 июля 2020</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=PlayerLeaveVehicle&amp;diff=12561&amp;oldid=prev"/>
		<updated>2020-07-27T12:25:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Triggers when the player exits the vehicle.&lt;br /&gt;
&lt;br /&gt;
{{ClientsideCsJsEvent}}&lt;br /&gt;
&lt;br /&gt;
{{CSharpContainer|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
public delegate void OnPlayerLeaveVehicleDelegate();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Parameters}}&lt;br /&gt;
&amp;#039;&amp;#039;This event has no parameters&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{Example}}&lt;br /&gt;
The example below send a chat message to the player when they exit a vehicle.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
Events.OnPlayerLeaveVehicle += OnPlayerLeaveVehicle;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
public void OnPlayerLeaveVehicle(RAGE.Elements.Vehicle vehicle, int seat)&lt;br /&gt;
{&lt;br /&gt;
    RAGE.Chat.Output(&amp;quot;You exited a vehicle&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;vehicle&amp;#039;&amp;#039;&amp;#039;: {{RageType|Object}}&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;seat&amp;#039;&amp;#039;&amp;#039;: {{RageType|Int}}&lt;br /&gt;
&lt;br /&gt;
{{Example}}&lt;br /&gt;
This example outputs a chat message when the player start&amp;#039;s to leave from the car and their seat ID.&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&amp;quot;playerLeaveVehicle&amp;quot;, (vehicle, seat) =&amp;gt; {&lt;br /&gt;
    mp.gui.chat.push(`You are now leaving the vehicle from seat ${seat}`);&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player_events}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Player]]&lt;br /&gt;
[[Category:Vehicle]]&lt;br /&gt;
[[Category:Client-side Event]]&lt;/div&gt;</summary>
		<author><name>imported&gt;LightScribe</name></author>
	</entry>
</feed>