<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kinan</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kinan"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Kinan"/>
	<updated>2026-05-20T14:59:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetCamera&amp;diff=50517</id>
		<title>GetCamera</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetCamera&amp;diff=50517"/>
		<updated>2017-02-28T17:37:41Z</updated>

		<summary type="html">&lt;p&gt;Kinan: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New items|3.0135|1.3.5|&lt;br /&gt;
This function returns an [[element]] that corresponds to the game camera &lt;br /&gt;
}}&lt;br /&gt;
{{Note|Using attachElements with the camera and the main player can interfere with movement}}&lt;br /&gt;
{{Note|Using setElementPosition/Rotation/Matrix on the camera element will automatically clear any target set with [[setCameraTarget]]}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element getCamera ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an [[element]] that corresponds to the game camera &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example attaches (fixes) the camera to a vehicle.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local cam = getCamera()&lt;br /&gt;
setElementPosition( cam, 0,0,0 )  -- Clear camera target&lt;br /&gt;
local myVehicle = getPedOccupiedVehicle(localPlayer)&lt;br /&gt;
attachElements( cam, myVehicle, 0,-4,2, -20,0,0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[ar:getCamera]]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client camera functions}}&lt;/div&gt;</summary>
		<author><name>Kinan</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetCamera&amp;diff=50516</id>
		<title>GetCamera</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetCamera&amp;diff=50516"/>
		<updated>2017-02-28T17:37:00Z</updated>

		<summary type="html">&lt;p&gt;Kinan: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New items|3.0135|1.3.5|&lt;br /&gt;
This function returns an [[element]] that corresponds to the game camera &lt;br /&gt;
}}&lt;br /&gt;
{{Note|Using attachElements with the camera and the main player can interfere with movement}}&lt;br /&gt;
{{Note|Using setElementPosition/Rotation/Matrix on the camera element will automatically clear any target set with [[setCameraTarget]]}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element getCamera ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an [[element]] that corresponds to the game camera &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example attaches (fixes) the camera to a vehicle.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local cam = getCamera()&lt;br /&gt;
setElementPosition( cam, 0,0,0 )  -- Clear camera target&lt;br /&gt;
local myVehicle = getPedOccupiedVehicle(localPlayer)&lt;br /&gt;
attachElements( cam, myVehicle, 0,-4,2, -20,0,0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[ar:createMarker]]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client camera functions}}&lt;/div&gt;</summary>
		<author><name>Kinan</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getCamera&amp;diff=50515</id>
		<title>AR/getCamera</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getCamera&amp;diff=50515"/>
		<updated>2017-02-28T17:36:33Z</updated>

		<summary type="html">&lt;p&gt;Kinan: Created page with &amp;quot;{{Client function}} __NOTOC__ {{New items|3.0135|1.3.5| الكاميرة element هذا الفنكشن يرجع أليمنت }} {{Note| attachElements استخدام هذ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New items|3.0135|1.3.5|&lt;br /&gt;
الكاميرة [[element]] هذا الفنكشن يرجع أليمنت&lt;br /&gt;
}}&lt;br /&gt;
{{Note| attachElements استخدام هذا الفنكشن مع الكاميرا يمكن أن يتدخل في حركة اللاعب}}&lt;br /&gt;
{{Note| [[setCameraTarget]] سوف يمسح اوتوماتيكياً هدف setElementPosition/Rotation/Matrix استخدام احدى هذه الفنكشنات}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element getCamera ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
الكاميرة [[element]] هذا الفنكشن يرجع أليمنت&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
هذا المثال سوف يلصق الكاميرا مع سيارة اللاعب&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local cam = getCamera()&lt;br /&gt;
setElementPosition( cam, 0,0,0 )  -- يبعد الكاميرا عن اللاعب&lt;br /&gt;
local myVehicle = getPedOccupiedVehicle(localPlayer) -- يأخذ سيارة اللاعب&lt;br /&gt;
attachElements( cam, myVehicle, 0,-4,2, -20,0,0 ) -- يقوم بلصق الالمنتين&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client camera functions}}&lt;/div&gt;</summary>
		<author><name>Kinan</name></author>
	</entry>
</feed>