<?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=Streaming%3A%3AstartPlayerSwitch</id>
	<title>Streaming::startPlayerSwitch - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Streaming%3A%3AstartPlayerSwitch"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Streaming::startPlayerSwitch&amp;action=history"/>
	<updated>2026-07-25T07:07:03Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Streaming::startPlayerSwitch&amp;diff=14320&amp;oldid=prev</id>
		<title>imported&gt;Shr0x: /* See also */</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Streaming::startPlayerSwitch&amp;diff=14320&amp;oldid=prev"/>
		<updated>2024-05-27T03:36:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// this enum comes directly from R* so don&amp;#039;t edit this&amp;lt;br&amp;gt;enum ePlayerSwitchTypes&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;	SWITCH_TYPE_AUTO,&amp;lt;br&amp;gt;	SWITCH_TYPE_LONG,&amp;lt;br&amp;gt;	SWITCH_TYPE_MEDIUM,&amp;lt;br&amp;gt;	SWITCH_TYPE_SHORT&amp;lt;br&amp;gt;};&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Use GET_IDEAL_PLAYER_SWITCH_TYPE for the best switch type.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;----------------------------------------------------&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Examples from the decompiled scripts:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;STREAMING::START_PLAYER_SWITCH(l_832._f3, PLAYER::PLAYER_PED_ID(), 0, 3);&amp;lt;br&amp;gt;STREAMING::START_PLAYER_SWITCH(l_832._f3, PLAYER::PLAYER_PED_ID(), 2050, 3);&amp;lt;br&amp;gt;STREAMING::START_PLAYER_SWITCH(PLAYER::PLAYER_PED_ID(), l_832._f3, 1024, 3);&amp;lt;br&amp;gt;STREAMING::START_PLAYER_SWITCH(g_141F27, PLAYER::PLAYER_PED_ID(), 513, v_14);&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Note: DO NOT, use SWITCH_TYPE_LONG with flag 513. It leaves you stuck in the clouds. You&amp;#039;ll have to call STOP_PLAYER_SWITCH() to return to your ped.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Flag 8 w/ SWITCH_TYPE_LONG will zoom out 3 steps, then zoom in 2/3 steps and stop on the 3rd and just hang there.&amp;lt;br&amp;gt;Flag 8 w/ SWITCH_TYPE_MEDIUM will zoom out 1 step, and just hang there.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.streaming.startPlayerSwitch(from, to, flags, switchType);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;from:&amp;#039;&amp;#039;&amp;#039; Ped handle or object&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;to:&amp;#039;&amp;#039;&amp;#039; Ped handle or object&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;flags:&amp;#039;&amp;#039;&amp;#039; int&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;switchType:&amp;#039;&amp;#039;&amp;#039; int&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Streaming_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>