<?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=The-Killer</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=The-Killer"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/The-Killer"/>
	<updated>2026-06-11T19:57:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getSoundSpeed&amp;diff=38152</id>
		<title>AR/getSoundSpeed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getSoundSpeed&amp;diff=38152"/>
		<updated>2014-01-03T18:15:55Z</updated>

		<summary type="html">&lt;p&gt;The-Killer: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
يتم استخدام هذه الداله لمعرفة سرعه الصوت [[sound]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getSoundSpeed ( element theSound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theSound:''' اسم الصوت الذي تريد معرفة سرعته.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
القيمه [[float]] مما يدل على سرعة الصوت [[sound]]. السرعه الاسااسيه للصوت هي '''1.0'''.&lt;br /&gt;
&lt;br /&gt;
==مثال== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputSpeed(soundname) &lt;br /&gt;
	local sound = playSound(&amp;quot;sounds/&amp;quot;..tostring(soundname)..&amp;quot;.mp3&amp;quot;) -- تشغيل الصوت من الملف&lt;br /&gt;
	setSoundVolume(sound, 0.5) -- جعل قوة الصوت 50%&lt;br /&gt;
	outputChatBox(&amp;quot;The sound speed : &amp;quot;..getSoundSpeed(sound)) -- كتابة سرعة الصوت في الشات&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;soundspeed&amp;quot;,outputSpeed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''By The Killer.'''&lt;br /&gt;
&lt;br /&gt;
==أنظر أيضاً==&lt;br /&gt;
{{AR/Audio_functions}}&lt;/div&gt;</summary>
		<author><name>The-Killer</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getSoundSpeed&amp;diff=38151</id>
		<title>AR/getSoundSpeed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getSoundSpeed&amp;diff=38151"/>
		<updated>2014-01-03T18:15:12Z</updated>

		<summary type="html">&lt;p&gt;The-Killer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
يتم استخدام هذه الداله لمعرفة سرعه الصوت [[sound]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getSoundSpeed ( element theSound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theSound:''' اسم الصوت الذي تريد معرفة سرعته.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
القيمه [[float]] مما يدل على سرعة الصوت [[sound]]. السرعه الاسااسيه للصوت هي '''1.0'''.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputSpeed(soundname) &lt;br /&gt;
	local sound = playSound(&amp;quot;sounds/&amp;quot;..tostring(soundname)..&amp;quot;.mp3&amp;quot;) -- تشغيل الصوت من الملف&lt;br /&gt;
	setSoundVolume(sound, 0.5) -- جعل قوة الصوت 50%&lt;br /&gt;
	outputChatBox(&amp;quot;The sound speed : &amp;quot;..getSoundSpeed(sound)) -- كتابة سرعة الصوت في الشات&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;soundspeed&amp;quot;,outputSpeed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''By The Killer.'''&lt;br /&gt;
&lt;br /&gt;
==أنظر أيضاً==&lt;br /&gt;
{{AR/Audio_functions}}&lt;/div&gt;</summary>
		<author><name>The-Killer</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getSoundPosition&amp;diff=38150</id>
		<title>AR/getSoundPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getSoundPosition&amp;diff=38150"/>
		<updated>2014-01-03T17:55:58Z</updated>

		<summary type="html">&lt;p&gt;The-Killer: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
هذه الداله يتم استخدامها لأحضار مكان الصوت.&lt;br /&gt;
{{New_feature|3.0139|1.3.2|&lt;br /&gt;
اذا كن العنصر لاعب, هذه الداله ستستخدم صوت الاعب.&lt;br /&gt;
}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getSoundPosition ( element theSound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theSound:''' اسم الصوت الذي تريد معرفة مكانه.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
ارجاع القيمه [[float]]  مما يدل على مكان العنصر [[sound]]  في ثواني.&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;
addCommandHandler(&amp;quot;start&amp;quot;, -- الامر لتشغيل الصوت&lt;br /&gt;
function ()&lt;br /&gt;
local sound = playSound(&amp;quot;randomSound.mp3&amp;quot;,false)-- تشغيل الصوت&lt;br /&gt;
end &lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getPosition&amp;quot;,-- امر لأحضار مكان الصوت&lt;br /&gt;
function ()&lt;br /&gt;
local soundPosition = getSoundPosition(sound) -- احضار مكا ن الصوت&lt;br /&gt;
outputChatBox(&amp;quot;مكان الصوت هو: &amp;quot; .. soundPosition .. &amp;quot;.&amp;quot;)-- يظهر في الشات&lt;br /&gt;
end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|اضافة عنصر الاعب لأستخدام صوت الاعب}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''By The Killer.'''&lt;br /&gt;
&lt;br /&gt;
==أنظر أيضاً==&lt;br /&gt;
{{AR/Audio_functions}}&lt;/div&gt;</summary>
		<author><name>The-Killer</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getSoundPosition&amp;diff=38149</id>
		<title>AR/getSoundPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getSoundPosition&amp;diff=38149"/>
		<updated>2014-01-03T17:55:17Z</updated>

		<summary type="html">&lt;p&gt;The-Killer: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
هذه الداله يتم استخدامها لأحضار مكان الصوت.&lt;br /&gt;
{{New_feature|3.0139|1.3.2|&lt;br /&gt;
اذا كن العنصر لاعب, هذه الداله ستستخدم صوت الاعب.&lt;br /&gt;
}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getSoundPosition ( element theSound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theSound:''' اسم الصوت الذي تريد معرفة مكانه.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
ارجاع القيمه [[float]]  مما يدل على مكان العنصر [[sound]]  في ثواني.&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;
addCommandHandler(&amp;quot;start&amp;quot;, -- الامر لتشغيل الصوت&lt;br /&gt;
function ()&lt;br /&gt;
local sound = playSound(&amp;quot;randomSound.mp3&amp;quot;,false)-- تشغيل الصوت&lt;br /&gt;
end &lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;position&amp;quot;,-- امر لأحضار مكان الصوت&lt;br /&gt;
function ()&lt;br /&gt;
local soundPosition = getSoundPosition(sound) -- احضار مكا ن الصوت&lt;br /&gt;
outputChatBox(&amp;quot;مكان الصوت هو: &amp;quot; .. soundPosition .. &amp;quot;.&amp;quot;)-- يظهر في الشات&lt;br /&gt;
end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|اضافة عنصر الاعب لأستخدام صوت الاعب}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''By The Killer.'''&lt;br /&gt;
&lt;br /&gt;
==أنظر أيضاً==&lt;br /&gt;
{{AR/Audio_functions}}&lt;/div&gt;</summary>
		<author><name>The-Killer</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getSoundPosition&amp;diff=38148</id>
		<title>AR/getSoundPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getSoundPosition&amp;diff=38148"/>
		<updated>2014-01-03T17:50:20Z</updated>

		<summary type="html">&lt;p&gt;The-Killer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
هذه الداله يتم استخدامها لأحضار مكان الصوت.&lt;br /&gt;
{{New_feature|3.0139|1.3.2|&lt;br /&gt;
اذا كن العنصر لاعب, هذه الداله ستستخدم صوت الاعب.&lt;br /&gt;
}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getSoundPosition ( element theSound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theSound:''' اسم الصوت الذي تريد معرفة مكانه.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
ارجاع القيمه [[float]]  مما يدل على مكان العنصر [[sound]]  في ثواني.&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 sound = playSound(&amp;quot;randomSound.mp3&amp;quot;,false) --تشغيل الصوت&lt;br /&gt;
local soundPosition = getSoundPosition(sound) -- احضار مكا ن الصوت&lt;br /&gt;
outputChatBox(&amp;quot;مكان الصوت هو: &amp;quot; .. soundPosition .. &amp;quot;.&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|اضافة عنصر الاعب لأستخدام صوت الاعب}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''By The Killer.'''&lt;br /&gt;
&lt;br /&gt;
==أنظر أيضاً==&lt;br /&gt;
{{AR/Audio_functions}}&lt;/div&gt;</summary>
		<author><name>The-Killer</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getSoundMaxDistance&amp;diff=38147</id>
		<title>AR/getSoundMaxDistance</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getSoundMaxDistance&amp;diff=38147"/>
		<updated>2014-01-03T17:37:25Z</updated>

		<summary type="html">&lt;p&gt;The-Killer: /* Required Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Gets a custom [[sound]] max distance at which the sound stops.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getSoundMaxDistance ( element sound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''sound:''' هو اسم الصوت.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''integer'' of the max distance, ''false'' if invalid arguments where passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local sound = playSound3D(&amp;quot;sounds/song.mp3&amp;quot;, 373.14, -125.21, 1001, true)&lt;br /&gt;
&lt;br /&gt;
function getmaxdistanceFunc()&lt;br /&gt;
  outputChatBox(&amp;quot;Max distance: &amp;quot;..getSoundMaxDistance(sound))&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;getmaxdistance&amp;quot;, getmaxdistanceFunc)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==أنظر أيضاً==&lt;br /&gt;
{{AR/Audio_functions}}&lt;/div&gt;</summary>
		<author><name>The-Killer</name></author>
	</entry>
</feed>