<?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=StrixG</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=StrixG"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/StrixG"/>
	<updated>2026-04-19T10:26:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/Predefined_variables_list&amp;diff=72856</id>
		<title>RU/Predefined variables list</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/Predefined_variables_list&amp;diff=72856"/>
		<updated>2021-10-03T14:12:31Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Redirected page to Predefined variables list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Predefined variables list]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/CreateVehicle&amp;diff=72043</id>
		<title>RU/CreateVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/CreateVehicle&amp;diff=72043"/>
		<updated>2021-09-11T15:10:22Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{RU/Server client function}}&lt;br /&gt;
{{note|Машины (и другие элементы) созданные на клиентской стороне доступны только ему же, не синхронизируются, и другие не могут в них войти. По существу они нужно только для показа.}}&lt;br /&gt;
Эта функция создает машину в определенной позиции.&lt;br /&gt;
&lt;br /&gt;
Стоит помнить, что указывается позиция центра машины, а не базы. Вам нужно проверять положение в оси z, с тем что-бы машина была выше земли. Вы можете использовать клиентскую [[getElementDistanceFromCentreOfMassToBaseOfModel]], или же просто устанавливать её заметно выше земли, рассчитывая на её падение.&lt;br /&gt;
&lt;br /&gt;
==Синтаксис==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
vehicle createVehicle ( int model, float x, float y, float z [, float rx, float ry, float rz, string numberplate, bool bDirection, int variant1, int variant2 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|Это статическая функция класса Vehicle.|[[Vehicle]]||}}&lt;br /&gt;
&lt;br /&gt;
===Обязательные параметры===&lt;br /&gt;
* '''model''': [[Vehicle IDs|ИД машины]] которую вы создаете.&lt;br /&gt;
* '''x''': Число(float) соответствующее позиции в X координате карты.&lt;br /&gt;
* '''y''': Число(float) соответствующее позиции в Y координате карты.&lt;br /&gt;
* '''z''': Число(float) соответствующее позиции в Z координате карты.&lt;br /&gt;
&lt;br /&gt;
===Необязательные параметры===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''rx''': Число(float) соответствующее углу в X в координате карты (в градусах).&lt;br /&gt;
* '''ry''': Число(float) соответствующее углу в Y в координате карты (в градусах).&lt;br /&gt;
* '''rz''': Число(float) соответствующее углу в Z в координате карты (в градусах).&lt;br /&gt;
* '''numberplate''': A string that will go on the number plate of the car (max 8 characters). This is only applicable to cars.&lt;br /&gt;
* '''direction''': Логическое значение, которое должено быть установлено в false. *SERVER ONLY*&lt;br /&gt;
{{RU/New feature/item|3.0120|1.2|| &lt;br /&gt;
* '''variant1''': Число соответствующее первому варианту машины.[[Vehicle variants]]&lt;br /&gt;
* '''variant2''': Число соответствующее второму варианту машины. [[Vehicle variants]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Возвращает===&lt;br /&gt;
Возвращает элемент созданной [[vehicle|машины]].Возвращает ''false'' если параметры заданы неверно, или машины достигли лимита в 65535.&lt;br /&gt;
Returns the [[vehicle]] element that was created. Returns ''false'' if the arguments are incorrect, or if the vehicle limit of 65535 is exceeded.&lt;br /&gt;
&lt;br /&gt;
==Использование поездов==&lt;br /&gt;
Поезда создаются с помощью функции createVehicle. Они устанавливаются на ближайшей точке ж/д пути.&lt;br /&gt;
&lt;br /&gt;
==Примеры==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script spawns a Rhino on top of one lucky individual.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scriptCreateTank ( player, command )&lt;br /&gt;
      local luckyBugger = getRandomPlayer() -- get a random player&lt;br /&gt;
      local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position&lt;br /&gt;
      createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them&lt;br /&gt;
      outputChatBox ( &amp;quot;You got Tank'd!&amp;quot;, luckyBugger )&lt;br /&gt;
end&lt;br /&gt;
--Attach the 'scriptCreateTank' function to the &amp;quot;tank&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;tank&amp;quot;, scriptCreateTank )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 2: Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script spawns a Rhino on top of the local player.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scriptCreateTank ( commandName )&lt;br /&gt;
      local luckyBugger = getLocalPlayer() -- get the local player&lt;br /&gt;
      local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position&lt;br /&gt;
      createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them&lt;br /&gt;
      outputChatBox ( &amp;quot;You got Tank'd!&amp;quot;, 255, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
--Attach the 'scriptCreateTank' function to the &amp;quot;tank&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;tank&amp;quot;, scriptCreateTank )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 3: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a vehicle five units to the right of a player when they type ''createvehicle'' and its name in the console:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local distance = 5 --units&lt;br /&gt;
&lt;br /&gt;
-- define our handler (we'll take a variable number of parameters where the name goes, because there are vehicle names with more than one word)&lt;br /&gt;
function consoleCreateVehicle ( sourcePlayer, commandName, ... )&lt;br /&gt;
   -- if a player triggered it, not the admin,&lt;br /&gt;
   if ( sourcePlayer ) then&lt;br /&gt;
      -- calculate the position of the vehicle based on the player's position and rotation:&lt;br /&gt;
      local x, y, z = getElementPosition ( sourcePlayer ) -- get the player's position&lt;br /&gt;
      local rotZ = getPedRotation ( sourcePlayer ) -- get the player's rotation around the Z axis in degrees&lt;br /&gt;
      x = x + ( ( math.cos ( math.rad ( rotZ ) ) ) * distance ) -- calculate the X position of the vehicle&lt;br /&gt;
      y = y + ( ( math.sin ( math.rad ( rotZ ) ) ) * distance ) -- calculate the Y position of the vehicle&lt;br /&gt;
&lt;br /&gt;
      -- get the complete vehicle name by joining all passed parameters using Lua function table.concat&lt;br /&gt;
      local vehicleName = table.concat({...}, &amp;quot; &amp;quot;)&lt;br /&gt;
      -- get the vehicle's model ID from the name&lt;br /&gt;
      local vehicleID = getVehicleModelFromName ( vehicleName )&lt;br /&gt;
      -- if vehicle ID is valid,&lt;br /&gt;
      if vehicleID then&lt;br /&gt;
            -- create the vehicle using the information gathered above:&lt;br /&gt;
            local newVehicle = createVehicle ( vehicleID, x, y, z, 0, 0, rotZ )&lt;br /&gt;
            -- if vehicle creation failed, give the player a message&lt;br /&gt;
            if not newVehicle then&lt;br /&gt;
               outputConsole ( &amp;quot;Failed to create vehicle.&amp;quot;, sourcePlayer )&lt;br /&gt;
            end&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Attach the 'consoleCreateVehicle' function to the &amp;quot;createvehicle&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;createvehicle&amp;quot;, consoleCreateVehicle )&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;
{{New items|4.0132|1.4|&lt;br /&gt;
This is an example of how this function is executed in an OOP environment.&lt;br /&gt;
&amp;lt;section name=&amp;quot;OOP server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script will create an Infernus at the center (0, 0, 3) of San Andreas upon execution.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler( &amp;quot;onResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
    function()&lt;br /&gt;
        infernus = Vehicle(411, Vector3(0, 0, 3)); -- Create an Infernus and spawn it at the middle of SA.&lt;br /&gt;
        infernus:setColor(0, 0, 0); -- Set its color to black.&lt;br /&gt;
        infernus.damageProof = true; -- Make it damage proof&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
	&lt;br /&gt;
addCommandHandler( &amp;quot;blowinfernus&amp;quot;,&lt;br /&gt;
    function(p)&lt;br /&gt;
        if not infernus.blown then -- Check if the Infernus is blown up or not.&lt;br /&gt;
            infernus:blow();&lt;br /&gt;
        else -- Ouch, it's blown up, let's output an error to the player.&lt;br /&gt;
            outputChatBox( &amp;quot;The Infernus has already been blown up by you.&amp;quot;, p, 255, 0, 0, false );&lt;br /&gt;
        end&lt;br /&gt;
    end)&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;
[[en:CreateVehicle]]&lt;br /&gt;
[[de:createVehicle]]&lt;br /&gt;
[[pl:createVehicle]]&lt;br /&gt;
[[pt-br:CreateVehicle]]&lt;br /&gt;
&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_ped_functions&amp;diff=72000</id>
		<title>Template:Client ped functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_ped_functions&amp;diff=72000"/>
		<updated>2021-08-31T12:36:52Z</updated>

		<summary type="html">&lt;p&gt;StrixG: set/isPedBleeding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[addPedClothes]]&lt;br /&gt;
*[[canPedBeKnockedOffBike]]&lt;br /&gt;
*[[createPed]]&lt;br /&gt;
{{Deprecated items|3.0156|1.5.6|&lt;br /&gt;
*[[doesPedHaveJetPack]]&lt;br /&gt;
}}&lt;br /&gt;
*[[getPedAmmoInClip]]&lt;br /&gt;
*[[getPedAnalogControlState]]&lt;br /&gt;
*[[getPedAnimation]]&lt;br /&gt;
*[[getPedArmor]]&lt;br /&gt;
*[[getPedBonePosition]]&lt;br /&gt;
*[[getPedCameraRotation]]&lt;br /&gt;
*[[getPedClothes]]&lt;br /&gt;
*[[getPedContactElement]]&lt;br /&gt;
*[[getPedControlState]]&lt;br /&gt;
{{New items|3.0157|1.5.6|&lt;br /&gt;
*[[getPedFightingStyle]]&lt;br /&gt;
|16362}}&lt;br /&gt;
*[[getPedMoveState]]&lt;br /&gt;
*[[getPedOccupiedVehicle]]&lt;br /&gt;
*[[getPedOccupiedVehicleSeat]]&lt;br /&gt;
*[[getPedOxygenLevel]]&lt;br /&gt;
*[[getPedSimplestTask]]&lt;br /&gt;
*[[getPedStat]]&lt;br /&gt;
*[[getPedTarget]]&lt;br /&gt;
*[[getPedTargetCollision]]&lt;br /&gt;
*[[getPedTargetEnd]]&lt;br /&gt;
*[[getPedTargetStart]]&lt;br /&gt;
*[[getPedTask]]&lt;br /&gt;
*[[getPedTotalAmmo]]&lt;br /&gt;
*[[getPedVoice]]&lt;br /&gt;
*[[getPedWalkingStyle]]&lt;br /&gt;
*[[getPedWeapon]]&lt;br /&gt;
*[[getPedWeaponMuzzlePosition]]&lt;br /&gt;
*[[getPedWeaponSlot]]&lt;br /&gt;
*[[getValidPedModels]]&lt;br /&gt;
*[[givePedWeapon]]&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[isPedBleeding]]&lt;br /&gt;
|20935}}&lt;br /&gt;
*[[isPedChoking]]&lt;br /&gt;
*[[isPedDead]]&lt;br /&gt;
*[[isPedDoingGangDriveby]]&lt;br /&gt;
*[[isPedDoingTask]]&lt;br /&gt;
*[[isPedDucked]]&lt;br /&gt;
*[[isPedHeadless]]&lt;br /&gt;
*[[isPedInVehicle]]&lt;br /&gt;
*[[isPedOnFire]]&lt;br /&gt;
*[[isPedOnGround]]&lt;br /&gt;
{{New items|3.0156|1.5.5|&lt;br /&gt;
*[[isPedReloadingWeapon]]&lt;br /&gt;
|11856}}&lt;br /&gt;
*[[isPedTargetingMarkerEnabled]]&lt;br /&gt;
{{New items|3.0156|1.5.5|&lt;br /&gt;
*[[isPedWearingJetpack]]&lt;br /&gt;
|13846}}&lt;br /&gt;
*[[killPed]]&lt;br /&gt;
*[[removePedClothes]]&lt;br /&gt;
*[[removePedFromVehicle]]&lt;br /&gt;
*[[setAnalogControlState]]&lt;br /&gt;
*[[setPedAimTarget]]&lt;br /&gt;
*[[setPedAnalogControlState]]&lt;br /&gt;
*[[setPedAnimation]]&lt;br /&gt;
*[[setPedAnimationProgress]]&lt;br /&gt;
{{New items|3.0156|1.5.5|&lt;br /&gt;
*[[setPedAnimationSpeed]]&lt;br /&gt;
|14219}}&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
*[[setPedArmor]]&lt;br /&gt;
|19626}}&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[setPedBleeding]]&lt;br /&gt;
|20935}}&lt;br /&gt;
*[[setPedCameraRotation]]&lt;br /&gt;
*[[setPedCanBeKnockedOffBike]]&lt;br /&gt;
*[[setPedControlState]]&lt;br /&gt;
*[[setPedDoingGangDriveby]]&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[setPedEnterVehicle]]&lt;br /&gt;
*[[setPedExitVehicle]]&lt;br /&gt;
|20740}}&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
*[[setPedFightingStyle]]&lt;br /&gt;
|19626}}&lt;br /&gt;
*[[setPedFootBloodEnabled]]&lt;br /&gt;
*[[isPedFootBloodEnabled]]&lt;br /&gt;
*[[setPedHeadless]]&lt;br /&gt;
*[[setPedLookAt]]&lt;br /&gt;
*[[setPedOnFire]]&lt;br /&gt;
*[[setPedOxygenLevel]]&lt;br /&gt;
*[[setPedStat]]&lt;br /&gt;
*[[setPedTargetingMarkerEnabled]]&lt;br /&gt;
*[[setPedVoice]]&lt;br /&gt;
*[[setPedWalkingStyle]]&lt;br /&gt;
*[[setPedWeaponSlot]]&lt;br /&gt;
*[[warpPedIntoVehicle]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedBleeding&amp;diff=71999</id>
		<title>SetPedBleeding</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedBleeding&amp;diff=71999"/>
		<updated>2021-08-31T12:34:48Z</updated>

		<summary type="html">&lt;p&gt;StrixG: OOP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20935|This function allows you to set [[player|player's]] or [[ped|ped's]] bleeding effect.}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setPedBleeding( ped thePed, bool bleeding ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[ped]]:setBleeding|bleeding|isPedBleeding}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped whose bleeding effect you want to set of.&lt;br /&gt;
*'''bleeding:''' boolean specifying whether the player or ped is bleeding or not.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the bleeding state was successfully set, ''error'' is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{Example}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20935|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client ped functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPedBleeding&amp;diff=71998</id>
		<title>IsPedBleeding</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPedBleeding&amp;diff=71998"/>
		<updated>2021-08-31T12:34:23Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Created page with &amp;quot;{{Client function}} __NOTOC__ {{New feature/item|3.0159|1.5.8|20935|This function gets the state of a player's or ped's bleeding effect.}} ==Syntax==  &amp;lt;synt...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20935|This function gets the state of a [[player|player's]] or [[ped|ped's]] bleeding effect.}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPedBleeding( ped thePed ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[ped]]:isBleeding|bleeding|setPedBleeding}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped whose bleeding effect state you want to get.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the player or ped is bleeding, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{Example}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20935|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client ped functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedBleeding&amp;diff=71997</id>
		<title>SetPedBleeding</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedBleeding&amp;diff=71997"/>
		<updated>2021-08-31T12:16:41Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Created page with &amp;quot;{{Client function}} __NOTOC__ {{New feature/item|3.0159|1.5.8|20935|This function allows you to set player's or ped's bleeding effect.}} ==Syntax==  &amp;lt;syntax...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20935|This function allows you to set [[player|player's]] or [[ped|ped's]] bleeding effect.}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setPedBleeding( ped thePed, bool bleeding ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped whose bleeding effect you want to set of.&lt;br /&gt;
*'''bleeding:''' boolean specifying whether the player or ped is bleeding or not.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the bleeding state was successfully set, ''error'' is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{Example}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20935|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client ped functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedFootBloodEnabled&amp;diff=71996</id>
		<title>SetPedFootBloodEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedFootBloodEnabled&amp;diff=71996"/>
		<updated>2021-08-31T11:41:38Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function makes a [[ped|ped's]] footprints bloody.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setPedFootBloodEnabled (element thePlayer, bool enabled)&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' the ped to give bloody footprints to.&lt;br /&gt;
*'''enabled:''' boolean specifying whether or not to have bloody feet.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if changing the ped's bloody feet status worked.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example gives the player bloody feet forever.&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;
setPedFootBloodEnabled(localPlayer, true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_ped_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundFFTData&amp;diff=71632</id>
		<title>GetSoundFFTData</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundFFTData&amp;diff=71632"/>
		<updated>2021-08-09T22:09:04Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets the fast fourier transform data for an audio stream which is a table of floats representing the current audio frame. This allows things like visualisations.&lt;br /&gt;
A fast fourier transform generates a table of all the frequencies of the current audio frame which starts at the bass end of the spectrum to mids to highs in that order.&lt;br /&gt;
Should you have any problems there is an example resource located on the resources repository:&lt;br /&gt;
[https://github.com/multitheftauto/mtasa-resources/tree/master/%5Bgameplay%5D/visualiser Visualiser]&lt;br /&gt;
&lt;br /&gt;
Just type &amp;quot;startmusic mystreamurl&amp;quot; in your console and it will play on the cinema billboard near A51. If the element is a player, this function will use the players voice.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundFFTData ( element sound, int iSamples [, int iBands = 0 ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[sound]]:getFFTData}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''sound:''' a sound element that is created using [[playSound]] or [[playSound3D]]. Streams are also supported&lt;br /&gt;
*'''iSamples:''' allowed samples are 256, 512, 1024, 2048, 4096, 8192 and 16384.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''iBands:''' post processing option allows you to split the samples into the desired amount of bands or bars so if you only need 5 bars this saves a lot of cpu power compared to trying to do it in Lua.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a table of '''iSamples'''/2 (or '''iBands''' if '''iBands''' is used) ''floats'' representing the current audio frame.&lt;br /&gt;
Returns ''false'' if the sound is not playing yet or hasn't buffered in the&lt;br /&gt;
case of streams.&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;
soundHandler = playSound ( &amp;quot;sound.wav&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
function onSoundPlayRender ( )&lt;br /&gt;
    if ( soundHandler ) then&lt;br /&gt;
        local soundFFT = getSoundFFTData ( soundHandler, 2048, 256 )&lt;br /&gt;
	if ( soundFFT ) then&lt;br /&gt;
            for i = 0, 255 do -- Data starts from index 0&lt;br /&gt;
                dxDrawRectangle ( i, 0, 1, math.sqrt ( soundFFT[i] ) * 256 )&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientRender&amp;quot;, getRootElement(), onSoundPlayRender )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|Added player element to use a players voice}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
[[HU:getSoundFFTData]]&lt;br /&gt;
[[ES:getSoundFFTData]]&lt;br /&gt;
[[AR:getSoundFFTData]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71620</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71620"/>
		<updated>2021-08-09T15:05:41Z</updated>

		<summary type="html">&lt;p&gt;StrixG: dB&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Flanger --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Flanger &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_FLANGER.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 100 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || -50 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 0.25 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 2 || 0-4 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 2 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Gargle --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Gargle&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_GARGLE.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| rateHz || int || 20 || 1-1000 (Hz)&lt;br /&gt;
|Rate of modulation.&lt;br /&gt;
|-&lt;br /&gt;
| waveShape || int || 0 || 0-1&lt;br /&gt;
|Shape of the modulation waveform... ''0 = triangle, 1 = square''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- I3DL2 Reverb --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | I3DL2 Reverb&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_I3DL2REVERB.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| room || int || -1000 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomHF || int || -100 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room high-frequency effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomRolloffFactor || float || 0 || 0-10&lt;br /&gt;
|Rolloff factor for the reflected signals.&lt;br /&gt;
|-&lt;br /&gt;
| decayTime || float || 1.49 || 0.1-20 (s)&lt;br /&gt;
|Decay time.&lt;br /&gt;
|-&lt;br /&gt;
| decayHFRatio || int || 0.83 || 0.1-2&lt;br /&gt;
|Ratio of the decay time at high frequencies to the decay time at low frequencies.&lt;br /&gt;
|-&lt;br /&gt;
| reflections || int || -2602 || -10000-1000 (mB)&lt;br /&gt;
|Attenuation of early reflections relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reflectionsDelay || float || 0.007 || 0-0.3 (s)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|-&lt;br /&gt;
| reverb || int || 200&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|-10000-2000 (mB)&lt;br /&gt;
|Attenuation of late reverberation relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reverbDelay || float || 0.011 || 0-0.1 (s)&lt;br /&gt;
|Time limit between the early reflections and the late reverberation relative to the time of the first reflection.&lt;br /&gt;
|-&lt;br /&gt;
| diffusion || float || 100 || 0-100&lt;br /&gt;
|Echo density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| density || float || 100 || 0-100&lt;br /&gt;
|Modal density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| HFReference || float || 5000 || 20-20000 (Hz)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Parametric Equalizer --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Parametric Equalizer&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_PARAMEQ.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| center || float || 0 || 80-16000 (Hz)&lt;br /&gt;
|Center frequency.&lt;br /&gt;
|-&lt;br /&gt;
| bandwidth || float || 12&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-36&lt;br /&gt;
|Bandwidth, in semitones.&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -15-15 (dB)&lt;br /&gt;
|Output gain of signal.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Reverb --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Reverb&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_REVERB.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| inGain || float || 0 || -96-0 (dB)&lt;br /&gt;
|Input gain of signal.&lt;br /&gt;
|-&lt;br /&gt;
| reverbMix || float || 0&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|-96-0 (dB)&lt;br /&gt;
|Reverb mix.&lt;br /&gt;
|-&lt;br /&gt;
| reverbTime || float || 1000 || 0.001-3000 (ms)&lt;br /&gt;
|Reverb time.&lt;br /&gt;
|-&lt;br /&gt;
| highFreqRTRatio || float || 0.001 || 0.001-0.999 (ms)&lt;br /&gt;
|High-frequency reverb time ratio.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71619</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71619"/>
		<updated>2021-08-09T14:56:19Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function gets the parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters ( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:getEffectParameters}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the name of the effect whose parameters you want to retrieve.&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised.&lt;br /&gt;
===Effects Parameters===&lt;br /&gt;
{{Sound_Effects_Parameters}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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 = playSound(&amp;quot;music.mp3&amp;quot;)&lt;br /&gt;
setSoundEffectEnabled(sound, &amp;quot;echo&amp;quot;, true)&lt;br /&gt;
local echoParams = getSoundEffectParameters(sound, &amp;quot;echo&amp;quot;)&lt;br /&gt;
print(echoParams.feedback) -- 50&lt;br /&gt;
iprint(echoParams)&lt;br /&gt;
--[[&lt;br /&gt;
{&lt;br /&gt;
  feedback = 50,&lt;br /&gt;
  leftDelay = 500,&lt;br /&gt;
  panDelay = false,&lt;br /&gt;
  rightDelay = 500,&lt;br /&gt;
  wetDryMix = 50&lt;br /&gt;
}&lt;br /&gt;
]]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_audio_functions&amp;diff=71618</id>
		<title>Template:Client audio functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_audio_functions&amp;diff=71618"/>
		<updated>2021-08-09T14:35:44Z</updated>

		<summary type="html">&lt;p&gt;StrixG: get/setSoundEffectParameter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[getRadioChannel]]&lt;br /&gt;
*[[getRadioChannelName]]&lt;br /&gt;
*[[getSFXStatus]]&lt;br /&gt;
*[[getSoundBPM]]&lt;br /&gt;
{{New items|3.0157|1.5.6|&lt;br /&gt;
*[[getSoundBufferLength]]&lt;br /&gt;
|16216}}&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[getSoundEffectParameters]]&lt;br /&gt;
|20914}}&lt;br /&gt;
*[[getSoundEffects]]&lt;br /&gt;
*[[getSoundFFTData]]&lt;br /&gt;
*[[getSoundLength]]&lt;br /&gt;
*[[getSoundLevelData]]&lt;br /&gt;
*[[getSoundMaxDistance]]&lt;br /&gt;
*[[getSoundMetaTags]]&lt;br /&gt;
*[[getSoundMinDistance]]&lt;br /&gt;
*[[getSoundPan]]&lt;br /&gt;
*[[getSoundPosition]]&lt;br /&gt;
*[[getSoundProperties]]&lt;br /&gt;
*[[getSoundSpeed]]&lt;br /&gt;
*[[getSoundVolume]]&lt;br /&gt;
*[[getSoundWaveData]]&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[isSoundLooped]]&lt;br /&gt;
|20785}}&lt;br /&gt;
*[[isSoundPanningEnabled]]&lt;br /&gt;
*[[isSoundPaused]]&lt;br /&gt;
*[[playSFX]]&lt;br /&gt;
*[[playSFX3D]]&lt;br /&gt;
*[[playSound]]&lt;br /&gt;
*[[playSound3D]]&lt;br /&gt;
*[[playSoundFrontEnd]]&lt;br /&gt;
*[[setRadioChannel]]&lt;br /&gt;
*[[setSoundEffectEnabled]]&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[setSoundEffectParameter]]&lt;br /&gt;
|20914}}&lt;br /&gt;
{{New items|3.0159|1.5.8|&lt;br /&gt;
*[[setSoundLooped]]&lt;br /&gt;
|20785}}&lt;br /&gt;
*[[setSoundMaxDistance]]&lt;br /&gt;
*[[setSoundMinDistance]]&lt;br /&gt;
*[[setSoundPan]]&lt;br /&gt;
*[[setSoundPanningEnabled]]&lt;br /&gt;
*[[setSoundPaused]]&lt;br /&gt;
*[[setSoundPosition]]&lt;br /&gt;
*[[setSoundProperties]]&lt;br /&gt;
*[[setSoundSpeed]]&lt;br /&gt;
*[[setSoundVolume]]&lt;br /&gt;
*[[stopSound]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:StrixG/GetSoundEffectParameters&amp;diff=71617</id>
		<title>User:StrixG/GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:StrixG/GetSoundEffectParameters&amp;diff=71617"/>
		<updated>2021-08-09T14:33:27Z</updated>

		<summary type="html">&lt;p&gt;StrixG: StrixG moved page User:StrixG/GetSoundEffectParameters to GetSoundEffectParameters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[GetSoundEffectParameters]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71616</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71616"/>
		<updated>2021-08-09T14:33:27Z</updated>

		<summary type="html">&lt;p&gt;StrixG: StrixG moved page User:StrixG/GetSoundEffectParameters to GetSoundEffectParameters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function gets the parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters ( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:getEffectParameters}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the name of the effect whose parameters you want to retrieve.&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised.&lt;br /&gt;
===Effects Parameters===&lt;br /&gt;
{{Sound_Effects_Parameters}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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 soundEchoParams = getSoundEffectParameters(sound, &amp;quot;echo&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:StrixG/SetSoundEffectParameter&amp;diff=71615</id>
		<title>User:StrixG/SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:StrixG/SetSoundEffectParameter&amp;diff=71615"/>
		<updated>2021-08-09T14:32:52Z</updated>

		<summary type="html">&lt;p&gt;StrixG: StrixG moved page User:StrixG/SetSoundEffectParameter to SetSoundEffectParameter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[SetSoundEffectParameter]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71614</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71614"/>
		<updated>2021-08-09T14:32:52Z</updated>

		<summary type="html">&lt;p&gt;StrixG: StrixG moved page User:StrixG/SetSoundEffectParameter to SetSoundEffectParameter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets the parameter of a sound effect.}}&lt;br /&gt;
{{Note|Using this function on a player voice sound element is not supported at this time.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter ( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:setEffectParameter}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the name of the effect whose parameter you want to change.&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
*'''effectParam''': the parameter [[#Effects Parameters|name]].&lt;br /&gt;
*'''paramValue''': the parameter [[#Effects Parameters|value]].&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Effects Parameters===&lt;br /&gt;
{{Sound_Effects_Parameters}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;music.mp3&amp;quot;, 0, 0, 10)&lt;br /&gt;
setSoundEffectEnabled(sound, &amp;quot;echo&amp;quot;, true)&lt;br /&gt;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;wetDryMix&amp;quot;, 80)&lt;br /&gt;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;feedback&amp;quot;, 30)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71613</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71613"/>
		<updated>2021-08-09T14:31:57Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets the parameter of a sound effect.}}&lt;br /&gt;
{{Note|Using this function on a player voice sound element is not supported at this time.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter ( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:setEffectParameter}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the name of the effect whose parameter you want to change.&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
*'''effectParam''': the parameter [[#Effects Parameters|name]].&lt;br /&gt;
*'''paramValue''': the parameter [[#Effects Parameters|value]].&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Effects Parameters===&lt;br /&gt;
{{Sound_Effects_Parameters}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;music.mp3&amp;quot;, 0, 0, 10)&lt;br /&gt;
setSoundEffectEnabled(sound, &amp;quot;echo&amp;quot;, true)&lt;br /&gt;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;wetDryMix&amp;quot;, 80)&lt;br /&gt;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;feedback&amp;quot;, 30)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71612</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71612"/>
		<updated>2021-08-09T14:28:48Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Reverb&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Flanger --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Flanger &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_FLANGER.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 100 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || -50 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 0.25 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 2 || 0-4 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 2 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Gargle --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Gargle&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_GARGLE.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| rateHz || int || 20 || 1-1000 (Hz)&lt;br /&gt;
|Rate of modulation.&lt;br /&gt;
|-&lt;br /&gt;
| waveShape || int || 0 || 0-1&lt;br /&gt;
|Shape of the modulation waveform... ''0 = triangle, 1 = square''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- I3DL2 Reverb --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | I3DL2 Reverb&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_I3DL2REVERB.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| room || int || -1000 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomHF || int || -100 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room high-frequency effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomRolloffFactor || float || 0 || 0-10&lt;br /&gt;
|Rolloff factor for the reflected signals.&lt;br /&gt;
|-&lt;br /&gt;
| decayTime || float || 1.49 || 0.1-20 (s)&lt;br /&gt;
|Decay time.&lt;br /&gt;
|-&lt;br /&gt;
| decayHFRatio || int || 0.83 || 0.1-2&lt;br /&gt;
|Ratio of the decay time at high frequencies to the decay time at low frequencies.&lt;br /&gt;
|-&lt;br /&gt;
| reflections || int || -2602 || -10000-1000 (mB)&lt;br /&gt;
|Attenuation of early reflections relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reflectionsDelay || float || 0.007 || 0-0.3 (s)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|-&lt;br /&gt;
| reverb || int || 200&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|-10000-2000 (mB)&lt;br /&gt;
|Attenuation of late reverberation relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reverbDelay || float || 0.011 || 0-0.1 (s)&lt;br /&gt;
|Time limit between the early reflections and the late reverberation relative to the time of the first reflection.&lt;br /&gt;
|-&lt;br /&gt;
| diffusion || float || 100 || 0-100&lt;br /&gt;
|Echo density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| density || float || 100 || 0-100&lt;br /&gt;
|Modal density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| HFReference || float || 5000 || 20-20000 (Hz)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Parametric Equalizer --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Parametric Equalizer&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_PARAMEQ.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| center || float || 0 || 80-16000 (Hz)&lt;br /&gt;
|Center frequency.&lt;br /&gt;
|-&lt;br /&gt;
| bandwidth || float || 12&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-36&lt;br /&gt;
|Bandwidth, in semitones.&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -15-15 (db)&lt;br /&gt;
|Output gain of signal.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Reverb --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Reverb&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_REVERB.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| inGain || float || 0 || -96-0 (dB)&lt;br /&gt;
|Input gain of signal.&lt;br /&gt;
|-&lt;br /&gt;
| reverbMix || float || 0&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|-96-0 (dB)&lt;br /&gt;
|Reverb mix.&lt;br /&gt;
|-&lt;br /&gt;
| reverbTime || float || 1000 || 0.001-3000 (ms)&lt;br /&gt;
|Reverb time.&lt;br /&gt;
|-&lt;br /&gt;
| highFreqRTRatio || float || 0.001 || 0.001-0.999 (ms)&lt;br /&gt;
|High-frequency reverb time ratio.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71611</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71611"/>
		<updated>2021-08-09T14:23:55Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Param Eq&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Flanger --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Flanger &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_FLANGER.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 100 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || -50 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 0.25 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 2 || 0-4 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 2 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Gargle --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Gargle&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_GARGLE.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| rateHz || int || 20 || 1-1000 (Hz)&lt;br /&gt;
|Rate of modulation.&lt;br /&gt;
|-&lt;br /&gt;
| waveShape || int || 0 || 0-1&lt;br /&gt;
|Shape of the modulation waveform... ''0 = triangle, 1 = square''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- I3DL2 Reverb --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | I3DL2 Reverb&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_I3DL2REVERB.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| room || int || -1000 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomHF || int || -100 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room high-frequency effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomRolloffFactor || float || 0 || 0-10&lt;br /&gt;
|Rolloff factor for the reflected signals.&lt;br /&gt;
|-&lt;br /&gt;
| decayTime || float || 1.49 || 0.1-20 (s)&lt;br /&gt;
|Decay time.&lt;br /&gt;
|-&lt;br /&gt;
| decayHFRatio || int || 0.83 || 0.1-2&lt;br /&gt;
|Ratio of the decay time at high frequencies to the decay time at low frequencies.&lt;br /&gt;
|-&lt;br /&gt;
| reflections || int || -2602 || -10000-1000 (mB)&lt;br /&gt;
|Attenuation of early reflections relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reflectionsDelay || float || 0.007 || 0-0.3 (s)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|-&lt;br /&gt;
| reverb || int || 200&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|-10000-2000 (mB)&lt;br /&gt;
|Attenuation of late reverberation relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reverbDelay || float || 0.011 || 0-0.1 (s)&lt;br /&gt;
|Time limit between the early reflections and the late reverberation relative to the time of the first reflection.&lt;br /&gt;
|-&lt;br /&gt;
| diffusion || float || 100 || 0-100&lt;br /&gt;
|Echo density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| density || float || 100 || 0-100&lt;br /&gt;
|Modal density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| HFReference || float || 5000 || 20-20000 (Hz)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Parametric Equalizer --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Parametric Equalizer&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| center|| float || 0 || 80-16000 (Hz)&lt;br /&gt;
|Center frequency.&lt;br /&gt;
|-&lt;br /&gt;
| bandwidth || float || 12&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-36&lt;br /&gt;
|Bandwidth, in semitones.&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -15-15 (db)&lt;br /&gt;
|Output gain of signal.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71610</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71610"/>
		<updated>2021-08-09T14:19:17Z</updated>

		<summary type="html">&lt;p&gt;StrixG: I3DL2 Reverb&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Flanger --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Flanger &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_FLANGER.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 100 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || -50 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 0.25 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 2 || 0-4 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 2 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Gargle --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Gargle&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_GARGLE.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| rateHz || int || 20 || 1-1000 (Hz)&lt;br /&gt;
|Rate of modulation.&lt;br /&gt;
|-&lt;br /&gt;
| waveShape || int || 0 || 0-1&lt;br /&gt;
|Shape of the modulation waveform... ''0 = triangle, 1 = square''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- I3DL2 Reverb --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | I3DL2 Reverb&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_I3DL2REVERB.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| room || int || -1000 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomHF || int || -100 || -10000-0 (mB)&lt;br /&gt;
|Attenuation of the room high-frequency effect.&lt;br /&gt;
|-&lt;br /&gt;
| roomRolloffFactor || float || 0 || 0-10&lt;br /&gt;
|Rolloff factor for the reflected signals.&lt;br /&gt;
|-&lt;br /&gt;
| decayTime || float || 1.49 || 0.1-20 (s)&lt;br /&gt;
|Decay time.&lt;br /&gt;
|-&lt;br /&gt;
| decayHFRatio || int || 0.83 || 0.1-2&lt;br /&gt;
|Ratio of the decay time at high frequencies to the decay time at low frequencies.&lt;br /&gt;
|-&lt;br /&gt;
| reflections || int || -2602 || -10000-1000 (mB)&lt;br /&gt;
|Attenuation of early reflections relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reflectionsDelay || float || 0.007 || 0-0.3 (s)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|-&lt;br /&gt;
| reverb || int || 200&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|-10000-2000 (mB)&lt;br /&gt;
|Attenuation of late reverberation relative to '''room'''.&lt;br /&gt;
|-&lt;br /&gt;
| reverbDelay || float || 0.011 || 0-0.1 (s)&lt;br /&gt;
|Time limit between the early reflections and the late reverberation relative to the time of the first reflection.&lt;br /&gt;
|-&lt;br /&gt;
| diffusion || float || 100 || 0-100&lt;br /&gt;
|Echo density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| density || float || 100 || 0-100&lt;br /&gt;
|Modal density in the late reverberation decay.&lt;br /&gt;
|-&lt;br /&gt;
| HFReference || float || 5000 || 20-20000 (Hz)&lt;br /&gt;
|Delay time of the first reflection relative to the direct path.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71609</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71609"/>
		<updated>2021-08-09T14:06:42Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Gargle&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Flanger --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Flanger &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_FLANGER.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 100 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || -50 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 0.25 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 2 || 0-4 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 2 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Gargle --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Gargle&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_GARGLE.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| rateHz || int || 20 || 1-1000 (Hz)&lt;br /&gt;
|Rate of modulation.&lt;br /&gt;
|-&lt;br /&gt;
| waveShape || int || 0 || 0-1&lt;br /&gt;
|Shape of the modulation waveform... ''0 = triangle, 1 = square''.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71608</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71608"/>
		<updated>2021-08-09T14:03:35Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Flanger&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Flanger --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Flanger &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_FLANGER.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 100 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || -50 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 0.25 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... ''0 = triangle, 1 = sine''.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 2 || 0-4 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 2 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71607</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71607"/>
		<updated>2021-08-09T13:56:48Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Echo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100&lt;br /&gt;
|Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99&lt;br /&gt;
|Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10&lt;br /&gt;
|Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1&lt;br /&gt;
|Waveform of the LFO... 0 = triangle, 1 = sine.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 (ms)&lt;br /&gt;
|Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4&lt;br /&gt;
|Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Compressor &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0 || -60-60 (dB)&lt;br /&gt;
|Output gain of signal after compression.&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|0.01-500 (ms)&lt;br /&gt;
|Time before compression reaches its full value.&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200 || 50-3000 (ms)&lt;br /&gt;
|Speed at which compression is stopped after input drops below '''threshold.'''&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20 || -60-0 (dB)&lt;br /&gt;
|Point at which compression begins.&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3 || 1-100&lt;br /&gt;
|Compression ratio.&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4 (ms) || 0-4&lt;br /&gt;
|Time after '''threshold''' is reached before attack phase is started.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Distortion &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18 || -60-0 (dB)&lt;br /&gt;
|Amount of signal change after distortion.&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15 || 0-100&lt;br /&gt;
|Percentage of distortion intensity.&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|100-8000 (Hz)&lt;br /&gt;
|Center frequency of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400 || 100-8000 (Hz)&lt;br /&gt;
|Width of frequency band that determines range of harmonic content addition.&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000 || 100-8000 (Hz)&lt;br /&gt;
|Filter cutoff for high-frequency harmonics attenuation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Echo --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Echo&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_ECHO.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100&lt;br /&gt;
|Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 50 || 0-100&lt;br /&gt;
|Percentage of output fed back into input.&lt;br /&gt;
|-&lt;br /&gt;
| leftDelay || float || 500&lt;br /&gt;
|style=&amp;quot;white-space: nowrap;&amp;quot;|1-2000 (ms)&lt;br /&gt;
|Delay for left channel.&lt;br /&gt;
|-&lt;br /&gt;
| rightDelay || float || 500 || 1-2000 (ms)&lt;br /&gt;
|Delay for right channel.&lt;br /&gt;
|-&lt;br /&gt;
| panDelay || bool || false || false, true&lt;br /&gt;
|Value that specifies whether to swap left and right delays with each successive echo.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71606</id>
		<title>Template:Sound Effects Parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_Effects_Parameters&amp;diff=71606"/>
		<updated>2021-08-09T13:37:51Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Created page with &amp;quot;&amp;lt;!-- Chorus --&amp;gt; {|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; ! colspan=5 | Chorus &amp;amp;nbsp; |- ! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html |- ! Paramet...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Chorus --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=5 | Chorus &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=5 | http://www.un4seen.com/doc/#bass/BASS_DX8_CHORUS.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value || Valid range || Description&lt;br /&gt;
|-&lt;br /&gt;
| wetDryMix || float || 50 || 0-100 || Ratio of wet (processed) signal to dry (unprocessed) signal.&lt;br /&gt;
|-&lt;br /&gt;
| depth || float || 10 || 0-100 || Percentage by which the delay time is modulated by the low-frequency oscillator (LFO).&lt;br /&gt;
|-&lt;br /&gt;
| feedback || float || 25 || -99-99 || Percentage of output signal to feed back into the effect's input.&lt;br /&gt;
|-&lt;br /&gt;
| frequency || float || 1.1 || 0-10 || Frequency of the LFO.&lt;br /&gt;
|-&lt;br /&gt;
| waveform || int || 1 || 0-1 || Waveform of the LFO... 0 = triangle, 1 = sine.&lt;br /&gt;
|-&lt;br /&gt;
| delay || float || 16 || 0-20 || Number of milliseconds the input is delayed before it is played back.&lt;br /&gt;
|-&lt;br /&gt;
| phase || int || 1 || 0-4 || Phase differential between left and right LFOs.&lt;br /&gt;
* '''0''': -180&lt;br /&gt;
* '''1''': -90&lt;br /&gt;
* '''2''': 0&lt;br /&gt;
* '''3''': 90&lt;br /&gt;
* '''4''': 180&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Compressor --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=3 | Compressor &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3 | http://www.un4seen.com/doc/#bass/BASS_DX8_COMPRESSOR.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || 0&lt;br /&gt;
|-&lt;br /&gt;
| attack || float || 10&lt;br /&gt;
|-&lt;br /&gt;
| release || float || 200&lt;br /&gt;
|-&lt;br /&gt;
| threshold || float || -20&lt;br /&gt;
|-&lt;br /&gt;
| ratio || float || 3&lt;br /&gt;
|-&lt;br /&gt;
| predelay || int || 4&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Distortion --&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
! colspan=3 | Compressor &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3 | http://www.un4seen.com/doc/#bass/BASS_DX8_DISTORTION.html&lt;br /&gt;
|-&lt;br /&gt;
! Parameter || Type || Default value&lt;br /&gt;
|-&lt;br /&gt;
| gain || float || -18&lt;br /&gt;
|-&lt;br /&gt;
| edge || float || 15&lt;br /&gt;
|-&lt;br /&gt;
| postEQCenterFrequency || float || 2400&lt;br /&gt;
|-&lt;br /&gt;
| postEQBandwidth || float || 2400&lt;br /&gt;
|-&lt;br /&gt;
| preLowpassCutoff || float || 8000&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71605</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71605"/>
		<updated>2021-08-09T12:57:11Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets the parameter of a sound effect.}}&lt;br /&gt;
{{Note|Using this function on a player voice sound element is not supported at this time.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter ( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:setEffectParameter}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the name of the effect whose parameter you want to change.&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
*'''effectParam''': the parameter [[#Effects Parameters|name]].&lt;br /&gt;
*'''paramValue''': the parameter [[#Effects Parameters|value]].&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Effects Parameters===&lt;br /&gt;
{{Sound_Effects_Parameters}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;leftDelay&amp;quot;, 500)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71604</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71604"/>
		<updated>2021-08-09T12:54:46Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function gets the parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters ( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:getEffectParameters}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the name of the effect whose parameters you want to retrieve.&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised.&lt;br /&gt;
===Effects Parameters===&lt;br /&gt;
{{Sound_Effects_Parameters}}&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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 soundEchoParams = getSoundEffectParameters(sound, &amp;quot;echo&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71603</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71603"/>
		<updated>2021-08-09T11:07:36Z</updated>

		<summary type="html">&lt;p&gt;StrixG: OOP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets the parameter of a sound effect.}}&lt;br /&gt;
{{Note|Using this function on a player voice sound element is not supported at this time.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter ( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:setEffectParameter}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
*'''effectParam''': the parameter name.&lt;br /&gt;
*'''paramValue''': the parameter value.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;leftDelay&amp;quot;, 500)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71602</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71602"/>
		<updated>2021-08-09T11:07:08Z</updated>

		<summary type="html">&lt;p&gt;StrixG: OOP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function gets parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters ( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[sound]]:getEffectParameters}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the [[sound]] element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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 soundEchoParams = getSoundEffectParameters(sound, &amp;quot;echo&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71587</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71587"/>
		<updated>2021-08-07T14:02:37Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function gets parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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 soundEchoParams = getSoundEffectParameters(sound, &amp;quot;echo&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectEnabled&amp;diff=71586</id>
		<title>SetSoundEffectEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectEnabled&amp;diff=71586"/>
		<updated>2021-08-07T13:49:54Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Used to enable or disable specific [[sound]] effects.&lt;br /&gt;
{{New feature/item|3.0132|1.3.2||&lt;br /&gt;
Use a [[player]] element to control a players voice with this function.&lt;br /&gt;
}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectEnabled ( element theSound/thePlayer, string effectName, bool bEnable )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[sound]]:setEffectEnabled}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''sound:''' a [[sound]] element or a [[player]] element which will affect the [[Resource:Voice|voice]] broadcast.&lt;br /&gt;
*'''effectName:''' the effect you want to enable or disable&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
*'''bEnable:''' ''true'' if you want to enable the effect, ''false'' if you want to disable it.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the effect was set successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates a sound and set's the flanger sound effect enabled.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;flanger&amp;quot;, function(cmd, enabled)&lt;br /&gt;
	if isElement(waterSplashes) then&lt;br /&gt;
		setSoundEffectEnabled(waterSplashes, cmd, enabled)&lt;br /&gt;
	else&lt;br /&gt;
		waterSplashes = playSound(&amp;quot;splashes.mp3&amp;quot;, true)&lt;br /&gt;
		setSoundEffectEnabled(waterSplashes, cmd, enabled)&lt;br /&gt;
	end&lt;br /&gt;
end, true) --set it case sensitive as we are going to get the command name and use it in the setSoundEffectEnabled&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|Added player element for voice control}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
&lt;br /&gt;
[[hu:setSoundEffectEnabled]]&lt;br /&gt;
[[ar:setSoundEffectEnabled]]&lt;br /&gt;
[[RO:setSoundEffectEnabled]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71585</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71585"/>
		<updated>2021-08-07T13:44:48Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets the parameter of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
*'''effectParam''': the parameter name.&lt;br /&gt;
*'''paramValue''': the parameter value.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;leftDelay&amp;quot;, 500)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71584</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71584"/>
		<updated>2021-08-07T13:40:15Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets a parameter of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
*'''effectParam''': the parameter name.&lt;br /&gt;
*'''paramValue''': the parameter value.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;leftDelay&amp;quot;, 500)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71583</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71583"/>
		<updated>2021-08-07T13:38:47Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function gets parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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 soundEchoParams = getSoundEffectParameters(sound, &amp;quot;echo&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71582</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71582"/>
		<updated>2021-08-07T13:36:56Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20914|This function sets parameter of sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter( element sound, string effectName, string effectParam, var paramValue )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
*'''effectParam''': the parameter name.&lt;br /&gt;
*'''paramValue''': the parameter value.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- Effects parameters --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20914|}}&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;
setSoundEffectParameter(sound, &amp;quot;echo&amp;quot;, &amp;quot;leftDelay&amp;quot;, 500)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71573</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71573"/>
		<updated>2021-08-06T13:13:02Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20921|This function gets parameters of a sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- {{Physical_Properties}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20921|}}&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;
getSoundEffectParameters(&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71572</id>
		<title>GetSoundEffectParameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetSoundEffectParameters&amp;diff=71572"/>
		<updated>2021-08-06T13:08:38Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Created page with &amp;quot;__NOTOC__  {{Client function}} {{New feature/item|3.0159|1.5.8|20921|This function sets parameter of sound effect.}}  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEff...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20921|This function sets parameter of sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getSoundEffectParameters( element sound, string effectName )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound element.&lt;br /&gt;
*'''effectName''': the effect name.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- {{Physical_Properties}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20921|}}&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;
getSoundEffectParameters(&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71571</id>
		<title>SetSoundEffectParameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundEffectParameter&amp;diff=71571"/>
		<updated>2021-08-06T12:59:51Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Created page with &amp;quot;__NOTOC__  {{Client function}} {{New feature/item|3.0159|1.5.8|20921|This function sets parameter of sound effect.}}  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffe...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0159|1.5.8|20921|This function sets parameter of sound effect.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectParameter( element sound, string effectName, string effectParam, var value )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sound''': the sound.&lt;br /&gt;
*'''effectName''': the effect.&lt;br /&gt;
*'''effectParam''': the parameter.&lt;br /&gt;
*'''value''': the parameter value.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if everything went well, error is raised otherwise.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;!-- {{Physical_Properties}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.8-9.20921|}}&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;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=71073</id>
		<title>DxGetTextSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=71073"/>
		<updated>2021-05-15T00:25:25Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
{{New items|3.0158|1.5.7|This function retrieves the theoretical width and height (in pixels) of a certain piece of text, if it were to be drawn using [[dxDrawText]].|20447}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This function already takes the client's screen resolution into account.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float dxGetTextSize ( string text [, float width = 0, float scaleXY = 1.0 [, float scaleY = 1.0 ], mixed font = &amp;quot;default&amp;quot;, bool wordBreak = false, bool colorCoded = false] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|This syntax requires you to ignore the font argument above| [[Element/DX font|font]]:getSize}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''text:''' A string representing the text for which you wish to retrieve with width for.&lt;br /&gt;
&lt;br /&gt;
==Optional Arguments==&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''width:''' The width of the text. Use with ''wordBreak = true''.&lt;br /&gt;
* '''scaleX:''' The scale of the text. Scale can also be inputted as a [[Vector2]].&lt;br /&gt;
* '''scaleY:''' The scale of the text.&lt;br /&gt;
* '''font:''' Either a custom [[DX font]] element or the name of a built-in dx font:&lt;br /&gt;
{{DxFonts}}&lt;br /&gt;
* '''wordBreak:''' If set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will always be completely on one line.&lt;br /&gt;
* '''colorCoded:''' Should we exclude color codes from the width? False will include the hex in the length.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns two floats representing the width and height of the text in pixels.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example draws a text with black background at the bottom right corner of the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
local message = &amp;quot;Incredibly huuuuuuuge message&amp;quot;&lt;br /&gt;
local messageOffset = 32&lt;br /&gt;
local messagePadding = 16&lt;br /&gt;
local messageWidth = 256&lt;br /&gt;
&lt;br /&gt;
function renderMessage()&lt;br /&gt;
    local textWidth, textHeight = dxGetTextSize(message, messageWidth, 2, &amp;quot;default&amp;quot;, true)&lt;br /&gt;
    local x = screenWidth - textWidth - messageOffset&lt;br /&gt;
    local y = screenHeight - textHeight - messageOffset&lt;br /&gt;
    dxDrawRectangle(x - messagePadding, y - messagePadding, textWidth + messagePadding * 2, textHeight + messagePadding * 2, 0x80000000) -- draw background&lt;br /&gt;
    dxDrawText(message, x, y, x + textWidth, y + textHeight, 0xFFFFFFFF, 2, &amp;quot;default&amp;quot;, &amp;quot;left&amp;quot;, &amp;quot;top&amp;quot;, false, true)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;, root, renderMessage)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DxGetTextSize.png|frame|none|Example]]&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.7-9.20447|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=71072</id>
		<title>DxGetTextSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=71072"/>
		<updated>2021-05-15T00:25:13Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
{{New items|3.0158|1.5.7|This function retrieves the theoretical width and height (in pixels) of a certain piece of text, if it were to be drawn using [[dxDrawText]].|20447}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This function already takes the client's screen resolution into account.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float dxGetTextSize ( string text [, float width = 0, float scaleX = 1.0 [, float scaleY = 1.0 ], mixed font = &amp;quot;default&amp;quot;, bool wordBreak = false, bool colorCoded = false] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|This syntax requires you to ignore the font argument above| [[Element/DX font|font]]:getSize}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''text:''' A string representing the text for which you wish to retrieve with width for.&lt;br /&gt;
&lt;br /&gt;
==Optional Arguments==&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''width:''' The width of the text. Use with ''wordBreak = true''.&lt;br /&gt;
* '''scaleX:''' The scale of the text. Scale can also be inputted as a [[Vector2]].&lt;br /&gt;
* '''scaleY:''' The scale of the text.&lt;br /&gt;
* '''font:''' Either a custom [[DX font]] element or the name of a built-in dx font:&lt;br /&gt;
{{DxFonts}}&lt;br /&gt;
* '''wordBreak:''' If set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will always be completely on one line.&lt;br /&gt;
* '''colorCoded:''' Should we exclude color codes from the width? False will include the hex in the length.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns two floats representing the width and height of the text in pixels.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example draws a text with black background at the bottom right corner of the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
local message = &amp;quot;Incredibly huuuuuuuge message&amp;quot;&lt;br /&gt;
local messageOffset = 32&lt;br /&gt;
local messagePadding = 16&lt;br /&gt;
local messageWidth = 256&lt;br /&gt;
&lt;br /&gt;
function renderMessage()&lt;br /&gt;
    local textWidth, textHeight = dxGetTextSize(message, messageWidth, 2, &amp;quot;default&amp;quot;, true)&lt;br /&gt;
    local x = screenWidth - textWidth - messageOffset&lt;br /&gt;
    local y = screenHeight - textHeight - messageOffset&lt;br /&gt;
    dxDrawRectangle(x - messagePadding, y - messagePadding, textWidth + messagePadding * 2, textHeight + messagePadding * 2, 0x80000000) -- draw background&lt;br /&gt;
    dxDrawText(message, x, y, x + textWidth, y + textHeight, 0xFFFFFFFF, 2, &amp;quot;default&amp;quot;, &amp;quot;left&amp;quot;, &amp;quot;top&amp;quot;, false, true)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;, root, renderMessage)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DxGetTextSize.png|frame|none|Example]]&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.7-9.20447|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Account_functions&amp;diff=70166</id>
		<title>Template:Account functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Account_functions&amp;diff=70166"/>
		<updated>2021-04-12T20:08:58Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Undo revision 70153 by EOFIK (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[addAccount]]&lt;br /&gt;
*[[copyAccountData]]&lt;br /&gt;
*[[getAccount]]&lt;br /&gt;
*[[getAccountData]]&lt;br /&gt;
*[[getAccountName]]&lt;br /&gt;
*[[getAccountPlayer]]&lt;br /&gt;
*[[getAccountSerial]]&lt;br /&gt;
*[[getAccounts]]&lt;br /&gt;
*[[getAccountsBySerial]]&lt;br /&gt;
*[[getAllAccountData]]&lt;br /&gt;
*[[getPlayerAccount]]&lt;br /&gt;
*[[isGuestAccount]]&lt;br /&gt;
*[[logIn]]&lt;br /&gt;
*[[logOut]]&lt;br /&gt;
*[[removeAccount]]&lt;br /&gt;
*[[setAccountData]]&lt;br /&gt;
*[[setAccountPassword]]&lt;br /&gt;
{{New items|3.0156|1.5.5|&lt;br /&gt;
*[[getAccountByID]]&lt;br /&gt;
*[[getAccountID]]&lt;br /&gt;
|12217}}&lt;br /&gt;
{{New items|3.0156|1.5.5|&lt;br /&gt;
*[[getAccountIP]]&lt;br /&gt;
*[[getAccountsByData]]&lt;br /&gt;
*[[getAccountsByIP]]&lt;br /&gt;
*[[setAccountName]]&lt;br /&gt;
|11747}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetAccountID&amp;diff=69076</id>
		<title>GetAccountID</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetAccountID&amp;diff=69076"/>
		<updated>2021-02-20T19:29:35Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New feature/item|3.0156|1.5.5|12217|&lt;br /&gt;
This function retrieves the ID of an [[account]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getAccountID ( account theAccount )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[account]]:getID|id|}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theAccount:''' The account you wish to get the ID of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a int containing the account's ID, ''false'' if the account does not exist or an invalid argument was passed to the function.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example announces into the console when a player logs into his account.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputOnLogin(previous_account, current_account, auto_login) --when a player logs in&lt;br /&gt;
	outputConsole(&amp;quot;[&amp;quot; .. getAccountID(previous_account) .. &amp;quot;] &amp;quot; .. getAccountName(previous_account) .. &amp;quot; Logged into [&amp;quot;..getAccountID(current_account) .. &amp;quot;]&amp;quot; .. getAccountName(current_account)) -- announce it into the console&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPlayerLogin&amp;quot;, root, outputOnLogin) --add an event handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
[[zh-cn:GetAccountID]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetAccountID&amp;diff=69075</id>
		<title>GetAccountID</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetAccountID&amp;diff=69075"/>
		<updated>2021-02-20T19:29:07Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New feature/item|3.0156|1.5.5|12217|&lt;br /&gt;
This function retrieves the ID of an [[account]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getAccountID ( account theAccount )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[account]]:getID|id|}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theAccount:''' The account you wish to get the ID of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a int containing the account's ID, ''false'' if the account does not exist or an invalid argument was passed to the function.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example announces into the console when a player logs into his account.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputOnLogin ( previous_account, current_account, auto_login ) --when a player logs in&lt;br /&gt;
	outputConsole(&amp;quot;[&amp;quot;..getAccountID(previous_account)..&amp;quot;] &amp;quot;..getAccountName(previous_account)..&amp;quot; Logged into [&amp;quot;..getAccountID(current_account)..&amp;quot;]&amp;quot;..getAccountName(current_account)) -- announce it into the console&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPlayerLogin&amp;quot;,getRootElement(),outputOnLogin ) --add an event handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
[[zh-cn:GetAccountID]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetTransferBoxVisible&amp;diff=68342</id>
		<title>SetTransferBoxVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetTransferBoxVisible&amp;diff=68342"/>
		<updated>2021-01-20T11:33:56Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Fix link to player element&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|3.0160|1.5.8|20788|Determines whether or not the transferbox should appear to [[Player|players]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setTransferBoxVisible ( bool visible )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''visible:''' The new visibility state.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the visibility was set successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&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;
addEventHandler('onResourceStart', resourceRoot, function()&lt;br /&gt;
    setTransferBoxVisible(false)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.5.8-9.20788|1.5.8-9.20788|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Shared_server_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetSoundPanningEnabled&amp;diff=68065</id>
		<title>SetSoundPanningEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetSoundPanningEnabled&amp;diff=68065"/>
		<updated>2020-12-17T11:09:45Z</updated>

		<summary type="html">&lt;p&gt;StrixG: note that method name was incorrect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function toggles the panning of a sound (hearing it closer to the left or right side of the speakers due to the camera position). By default a sound has its panning enabled.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundPanningEnabled ( element sound, bool enable )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{New feature/item|3.0141|1.4.0|6987|{{OOP|The method name was incorrect (setPann'''n'''ingEnabled) before version '''1.5.8-9.20761.0'''.|[[sound]]:setPanningEnabled|panningEnabled|isSoundPanningEnabled}}}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments=== &lt;br /&gt;
*'''sound:''' a [[sound]] element to change the panning of.&lt;br /&gt;
*'''enable:''' ''true'' to enable the panning, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the sound is valid and good arguments were passed, ''false'' if not.&lt;br /&gt;
&lt;br /&gt;
If the sound is not 3D, this function will return ''true'' as well, but [[isSoundPanningEnabled]] will always return ''true'' after this (so it has no effect).&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates a sound at the center of the map when the resource which cointains it starts and adds a command called /soundpanning, which changes the panning of the sound.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local panned = true&lt;br /&gt;
local sound = playSFX3D(&amp;quot;script&amp;quot;, 7, 1, 0, 0, 20, true)&lt;br /&gt;
&lt;br /&gt;
function changePanning()&lt;br /&gt;
    if sound then&lt;br /&gt;
        setSoundPanningEnabled(sound, not panned)&lt;br /&gt;
        panned = not panned&lt;br /&gt;
        outputChatBox(&amp;quot;Sound panning changed to &amp;quot; .. tostring(panned))&lt;br /&gt;
    else&lt;br /&gt;
        outputDebugString(&amp;quot;Looks that your GTA was ripped.&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;soundpanning&amp;quot;, changePanning)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
&lt;br /&gt;
[[hu:setSoundPanningEnabled]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Element_events&amp;diff=67778</id>
		<title>Template:Element events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Element_events&amp;diff=67778"/>
		<updated>2020-11-22T09:12:39Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onElementClicked]]&lt;br /&gt;
*[[onElementColShapeHit]]&lt;br /&gt;
*[[onElementColShapeLeave]]&lt;br /&gt;
*[[onElementDataChange]]&lt;br /&gt;
*[[onElementDestroy]]&lt;br /&gt;
{{New items|3.0160|1.5.8|&lt;br /&gt;
*[[onElementDimensionChange]]&lt;br /&gt;
|20724}}&lt;br /&gt;
*[[onElementModelChange]]&lt;br /&gt;
*[[onElementStartSync]]&lt;br /&gt;
*[[onElementStopSync]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_element_events&amp;diff=67777</id>
		<title>Template:Client element events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_element_events&amp;diff=67777"/>
		<updated>2020-11-22T09:12:18Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onClientElementColShapeHit]]&lt;br /&gt;
*[[onClientElementColShapeLeave]]&lt;br /&gt;
*[[onClientElementDataChange]]&lt;br /&gt;
*[[onClientElementDestroy]]&lt;br /&gt;
{{New items|3.0160|1.5.8|&lt;br /&gt;
*[[onClientElementDimensionChange]]&lt;br /&gt;
|20724}}&lt;br /&gt;
{{New items|3.0157|1.5.6|&lt;br /&gt;
*[[onClientElementModelChange]]&lt;br /&gt;
|16404}}&lt;br /&gt;
*[[onClientElementStreamIn]]&lt;br /&gt;
*[[onClientElementStreamOut]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxCreateShader&amp;diff=67655</id>
		<title>DxCreateShader</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxCreateShader&amp;diff=67655"/>
		<updated>2020-10-30T15:40:57Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function creates a [[shader]] element that can be used in the dxDraw functions. Successful shader creation is not guaranteed unless the [[shader|Effect File]] contains a fallback technique which will work on every PC in the universe.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt;It is highly recommended that [[dxSetTestMode]] is used when writing and testing scripts using dxCreateShader.&amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element, string dxCreateShader ( string filepath / string raw_data [, float priority = 0, float maxDistance = 0, bool layered = false, string elementTypes = &amp;quot;world,vehicle,object,other&amp;quot; ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Shader|DxShader]]}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filepath / raw_data:''' The filepath of the [[shader|shader  Effect File]] (.fx) file or whole data buffer of the shader file&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
''All the following optional arguments are only relevant when the shader is used with [[engineApplyShaderToWorldTexture]]''&lt;br /&gt;
*'''priority:''' If more than one shader is matched to a world texture, the shader with the highest priority will be used. If there is more than one shader with the same highest priority, the most recently created shader is used.&lt;br /&gt;
*'''maxDistance:''' If non-zero, the shader will be applied to textures nearer than maxDistance only. This can speed up rendering, but (to look good) may require the shader to fade out it's own effect as the texture reaches maxDistance.&lt;br /&gt;
*'''layered:''' When set to true, the shader will be drawn in a separate render pass. Several layered shaders can be drawn on the same world texture. (To avoid [http://en.wikipedia.org/wiki/Z-fighting Z fighting] artifacts, you may have to add '''DepthBias&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;-0.0002;''' to the technique pass, but this might cause visual artifacts when applied on vehicles)&lt;br /&gt;
*'''elementTypes:''' A comma seperated list of element types to restrict this shader to. Valid element types are:&lt;br /&gt;
** world - Textures in the GTA world&lt;br /&gt;
** ped - Player and ped textures&lt;br /&gt;
** vehicle - Vehicles textures&lt;br /&gt;
** object - Objects textures&lt;br /&gt;
** other - Element textures which are not peds, vehicles or objects&lt;br /&gt;
** all - Everything&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
*'''element:''' A [[shader]] element if successful, ''false'' if invalid arguments were passed to the function. '''You should always check to see if this function has returned false.'''&lt;br /&gt;
*'''string:''' The name of the technique that will be used.&lt;br /&gt;
&lt;br /&gt;
{{New items|3.0160|1.5.8-9.20688|&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element, string dxCreateShader ( string filepath / string raw_data [, table macros = {}, float priority = 0, float maxDistance = 0, bool layered = false, string elementTypes = &amp;quot;world,vehicle,object,other&amp;quot; ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Shader|DxShader]]}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filepath / raw_data:''' The filepath of the [[shader|shader  Effect File]] (.fx) file or whole data buffer of the shader file&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
''All the following optional arguments are only relevant when the shader is used with [[engineApplyShaderToWorldTexture]]''&lt;br /&gt;
*'''macros:''' A table contains macros in an ordered and/or unordered way. See example below.&lt;br /&gt;
*'''priority:''' If more than one shader is matched to a world texture, the shader with the highest priority will be used. If there is more than one shader with the same highest priority, the most recently created shader is used.&lt;br /&gt;
*'''maxDistance:''' If non-zero, the shader will be applied to textures nearer than maxDistance only. This can speed up rendering, but (to look good) may require the shader to fade out it's own effect as the texture reaches maxDistance.&lt;br /&gt;
*'''layered:''' When set to true, the shader will be drawn in a separate render pass. Several layered shaders can be drawn on the same world texture. (To avoid [http://en.wikipedia.org/wiki/Z-fighting Z fighting] artifacts, you may have to add '''DepthBias&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;-0.0002;''' to the technique pass, but this might cause visual artifacts when applied on vehicles)&lt;br /&gt;
*'''elementTypes:''' A comma seperated list of element types to restrict this shader to. Valid element types are:&lt;br /&gt;
** world - Textures in the GTA world&lt;br /&gt;
** ped - Player and ped textures&lt;br /&gt;
** vehicle - Vehicles textures&lt;br /&gt;
** object - Objects textures&lt;br /&gt;
** other - Element textures which are not peds, vehicles or objects&lt;br /&gt;
** all - Everything&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
*'''element:''' A [[shader]] element if successful, ''false'' if invalid arguments were passed to the function. '''You should always check to see if this function has returned false.'''&lt;br /&gt;
*'''string:''' The name of the technique that will be used.&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler( &amp;quot;onClientRender&amp;quot;, root,&lt;br /&gt;
    function()&lt;br /&gt;
        if myShader then&lt;br /&gt;
            dxDrawImage( 100, 350, 300, 350, myShader )&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
-- Use 'toggle' command to switch shader on and off&lt;br /&gt;
addCommandHandler( &amp;quot;toggle&amp;quot;,&lt;br /&gt;
    function()&lt;br /&gt;
        if not myShader then&lt;br /&gt;
            myShader = dxCreateShader( &amp;quot;fancything.fx&amp;quot; )  -- Create shader&lt;br /&gt;
        else        &lt;br /&gt;
            destroyElement( myShader )                    -- Destroy shader&lt;br /&gt;
            myShader = nil&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
{{New items|3.0157|1.5.6-9.14403|&lt;br /&gt;
This example creates basic shader from raw data (without i/o) on resource start:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local myShader_raw_data = [[&lt;br /&gt;
	texture tex;&lt;br /&gt;
	technique replace {&lt;br /&gt;
		pass P0 {&lt;br /&gt;
			Texture[0] = tex;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot, function()&lt;br /&gt;
	local myShader = dxCreateShader(myShader_raw_data) -- create shader from raw data&lt;br /&gt;
	if isElement(myShader) then&lt;br /&gt;
		local myTexture = dxCreateTexture(&amp;quot;some_image.png&amp;quot;) -- create texture from image file&lt;br /&gt;
		if isElement(myTexture) then&lt;br /&gt;
			-- apply image to world texture via shader&lt;br /&gt;
			dxSetShaderValue(myShader, &amp;quot;tex&amp;quot;, myTexture)&lt;br /&gt;
			engineApplyShaderToWorldTexture(myShader, &amp;quot;shad_ped&amp;quot;)&lt;br /&gt;
		else&lt;br /&gt;
			outputDebugString(&amp;quot;Unable to load texture&amp;quot;, 1)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		outputDebugString(&amp;quot;Unable to create shader&amp;quot;, 1)&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You can pass raw data (shader code) directly into the function (example uses variable ''myShader_raw_data'').&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{New items|3.0160|1.5.8-9.20688|&lt;br /&gt;
This example creates a basic shader using macros to change shader's behaviour&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local shaderRawStr = [[&lt;br /&gt;
    texture MACRO_TEX_NAME;&lt;br /&gt;
&lt;br /&gt;
    technique simple&lt;br /&gt;
    {&lt;br /&gt;
        pass P0&lt;br /&gt;
        {&lt;br /&gt;
            //-- Set up texture stage 0&lt;br /&gt;
            Texture[0] = MACRO_TEX_NAME;&lt;br /&gt;
	    ColorOp[0] = SelectArg1;&lt;br /&gt;
	#ifdef MACRO_FIRST_ARG&lt;br /&gt;
	    ColorArg1[0] = Texture;&lt;br /&gt;
	#else&lt;br /&gt;
	    ColorArg1[0] = Diffuse;&lt;br /&gt;
	#endif&lt;br /&gt;
	    AlphaOp[0] = SelectArg1;&lt;br /&gt;
	    AlphaArg1[0] = Texture;&lt;br /&gt;
                &lt;br /&gt;
            //-- Disable texture stage 1&lt;br /&gt;
            ColorOp[1] = Disable;&lt;br /&gt;
            AlphaOp[1] = Disable;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
addEventHandler( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
    function ( )&lt;br /&gt;
        local shader, tech = dxCreateShader( shaderRawStr,  { MACRO_TEX_NAME = &amp;quot;Tex0&amp;quot;,  MACRO_FIRST_ARG = true } )&lt;br /&gt;
        if not shader or tech ~= &amp;quot;simple&amp;quot; then&lt;br /&gt;
            outputDebugString( &amp;quot;An error was occured&amp;quot; )&lt;br /&gt;
	    return&lt;br /&gt;
        end	&lt;br /&gt;
        &lt;br /&gt;
        local texture = dxCreateTexture( &amp;quot;test.png&amp;quot; )&lt;br /&gt;
        if not texture then&lt;br /&gt;
	    outputDebugString( &amp;quot;An error was occured&amp;quot; )&lt;br /&gt;
	    return&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	dxSetShaderValue( shader, &amp;quot;Tex0&amp;quot;, texture )&lt;br /&gt;
		&lt;br /&gt;
	addEventHandler( &amp;quot;onClientRender&amp;quot;, root,&lt;br /&gt;
	    function()&lt;br /&gt;
	        dxDrawImage( 0, 0, 500, 500, shader )&lt;br /&gt;
	    end&lt;br /&gt;
	, false )&lt;br /&gt;
    end&lt;br /&gt;
, false )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You can also pass macros in key-value pairs when the order is important.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04435|Added layered and elementTypes arguments}}&lt;br /&gt;
{{ChangelogItem|1.5.6-9.14403|Added option to use raw data instead of a file name}}&lt;br /&gt;
{{ChangelogItem|1.5.8-9.20688|Added option to use macros}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;br /&gt;
&lt;br /&gt;
[[hu:dxCreateShader]]&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_world_functions&amp;diff=67653</id>
		<title>Template:Client world functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_world_functions&amp;diff=67653"/>
		<updated>2020-10-29T13:22:14Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[areTrafficLightsLocked]]&lt;br /&gt;
* [[createSWATRope]]&lt;br /&gt;
* [[getAircraftMaxHeight]]&lt;br /&gt;
* [[getAircraftMaxVelocity]]&lt;br /&gt;
* [[getBirdsEnabled]]&lt;br /&gt;
* [[getCloudsEnabled]]&lt;br /&gt;
* [[getFarClipDistance]]&lt;br /&gt;
* [[getFogDistance]]&lt;br /&gt;
* [[getGameSpeed]]&lt;br /&gt;
* [[getGarageBoundingBox]]&lt;br /&gt;
* [[getGaragePosition]]&lt;br /&gt;
* [[getGarageSize]]&lt;br /&gt;
* [[getGravity]]&lt;br /&gt;
* [[getGroundPosition]]&lt;br /&gt;
* [[getHeatHaze]]&lt;br /&gt;
* [[getInteriorFurnitureEnabled]]&lt;br /&gt;
* [[getInteriorSoundsEnabled]]&lt;br /&gt;
* [[getJetpackMaxHeight]]&lt;br /&gt;
* [[getMinuteDuration]]&lt;br /&gt;
* [[getMoonSize]]&lt;br /&gt;
* [[getNearClipDistance]]&lt;br /&gt;
* [[resetNearClipDistance]]&lt;br /&gt;
* [[getOcclusionsEnabled]]&lt;br /&gt;
{{New items|3.0156|1.5.5|&lt;br /&gt;
*[[getPedsLODDistance]]&lt;br /&gt;
*[[setPedsLODDistance]]&lt;br /&gt;
*[[resetPedsLODDistance]]&lt;br /&gt;
|13771}}&lt;br /&gt;
* [[getPlayerBlurLevel]]&lt;br /&gt;
* [[getRainLevel]]&lt;br /&gt;
* [[getScreenFromWorldPosition]]&lt;br /&gt;
* [[getSunColor]]&lt;br /&gt;
* [[getSunSize]]&lt;br /&gt;
* [[getTime]]&lt;br /&gt;
* [[getTrafficLightState]]&lt;br /&gt;
* [[getVehiclesLODDistance]]&lt;br /&gt;
* [[getWeather]]&lt;br /&gt;
* [[getWindVelocity]]&lt;br /&gt;
* [[getWorldFromScreenPosition]]&lt;br /&gt;
* [[getZoneName]]&lt;br /&gt;
* [[isAmbientSoundEnabled]]&lt;br /&gt;
* [[isGarageOpen]]&lt;br /&gt;
* [[isLineOfSightClear]]&lt;br /&gt;
* [[isWorldSoundEnabled]]&lt;br /&gt;
* [[isWorldSpecialPropertyEnabled]]&lt;br /&gt;
* [[processLineOfSight]]&lt;br /&gt;
* [[removeWorldModel]]&lt;br /&gt;
* [[resetAmbientSounds]]&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
*[[resetBlurLevel]]&lt;br /&gt;
|20450}}&lt;br /&gt;
* [[resetFarClipDistance]]&lt;br /&gt;
* [[resetFogDistance]]&lt;br /&gt;
* [[resetHeatHaze]]&lt;br /&gt;
* [[resetMoonSize]]&lt;br /&gt;
* [[resetRainLevel]]&lt;br /&gt;
* [[resetSkyGradient]]&lt;br /&gt;
* [[resetSunColor]]&lt;br /&gt;
* [[resetSunSize]]&lt;br /&gt;
* [[resetVehiclesLODDistance]]&lt;br /&gt;
* [[resetWindVelocity]]&lt;br /&gt;
* [[resetWorldSounds]]&lt;br /&gt;
* [[restoreAllWorldModels]]&lt;br /&gt;
* [[restoreWorldModel]]&lt;br /&gt;
* [[setAircraftMaxHeight]]&lt;br /&gt;
* [[setAircraftMaxVelocity]]&lt;br /&gt;
* [[setAmbientSoundEnabled]]&lt;br /&gt;
* [[setBirdsEnabled]]&lt;br /&gt;
* [[setCloudsEnabled]]&lt;br /&gt;
* [[setFarClipDistance]]&lt;br /&gt;
* [[setFogDistance]]&lt;br /&gt;
* [[setGameSpeed]]&lt;br /&gt;
* [[setGarageOpen]]&lt;br /&gt;
* [[setGravity]]&lt;br /&gt;
* [[setHeatHaze]]&lt;br /&gt;
* [[setInteriorFurnitureEnabled]]&lt;br /&gt;
* [[setInteriorSoundsEnabled]]&lt;br /&gt;
* [[setJetpackMaxHeight]]&lt;br /&gt;
* [[setMinuteDuration]]&lt;br /&gt;
* [[setMoonSize]]&lt;br /&gt;
* [[setNearClipDistance]]&lt;br /&gt;
* [[setOcclusionsEnabled]]&lt;br /&gt;
* [[setPlayerBlurLevel]]&lt;br /&gt;
* [[setRainLevel]]&lt;br /&gt;
* [[setSkyGradient]]&lt;br /&gt;
* [[setSunColor]]&lt;br /&gt;
* [[setSunSize]]&lt;br /&gt;
* [[setTime]]&lt;br /&gt;
* [[setTrafficLightState]]&lt;br /&gt;
* [[setTrafficLightsLocked]]&lt;br /&gt;
* [[setVehiclesLODDistance]]&lt;br /&gt;
* [[setWeather]]&lt;br /&gt;
* [[setWeatherBlended]]&lt;br /&gt;
* [[setWindVelocity]]&lt;br /&gt;
* [[setWorldSoundEnabled]]&lt;br /&gt;
* [[setWorldSpecialPropertyEnabled]]&lt;br /&gt;
* [[testLineAgainstWater]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Engine_functions&amp;diff=67652</id>
		<title>Template:Engine functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Engine_functions&amp;diff=67652"/>
		<updated>2020-10-29T13:21:18Z</updated>

		<summary type="html">&lt;p&gt;StrixG: engineGetModelVisibleTime, engineSetModelVisibleTime, engineRestreamWorld&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[engineApplyShaderToWorldTexture]]&lt;br /&gt;
* [[engineGetModelIDFromName]]&lt;br /&gt;
* [[engineGetModelLODDistance]]&lt;br /&gt;
* [[engineGetModelNameFromID]]&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
* [[engineGetModelPhysicalPropertiesGroup]]&lt;br /&gt;
* [[engineRestoreModelPhysicalPropertiesGroup]]&lt;br /&gt;
* [[engineSetModelPhysicalPropertiesGroup]]&lt;br /&gt;
* [[engineGetObjectGroupPhysicalProperty]]&lt;br /&gt;
* [[engineRestoreObjectGroupPhysicalProperties]]&lt;br /&gt;
* [[engineSetObjectGroupPhysicalProperty]]&lt;br /&gt;
|19626}}&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
* [[engineRequestModel]]&lt;br /&gt;
* [[engineFreeModel]]&lt;br /&gt;
|20147}}&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
* [[engineGetModelTextures]]&lt;br /&gt;
|20416}}&lt;br /&gt;
* [[engineGetModelTextureNames]]&lt;br /&gt;
* [[engineGetVisibleTextureNames]]&lt;br /&gt;
{{New items|3.0160|1.5.8|&lt;br /&gt;
* [[engineGetModelVisibleTime]]&lt;br /&gt;
* [[engineSetModelVisibleTime]]&lt;br /&gt;
* [[engineRestreamWorld]]&lt;br /&gt;
|20704}}&lt;br /&gt;
* [[engineImportTXD]]&lt;br /&gt;
* [[engineLoadCOL]]&lt;br /&gt;
* [[engineLoadDFF]]&lt;br /&gt;
* [[engineLoadIFP]]&lt;br /&gt;
* [[engineLoadTXD]]&lt;br /&gt;
* [[engineRemoveShaderFromWorldTexture]]&lt;br /&gt;
* [[engineReplaceAnimation]]&lt;br /&gt;
* [[engineReplaceCOL]]&lt;br /&gt;
* [[engineReplaceModel]]&lt;br /&gt;
{{New items|3.0158|1.5.7|&lt;br /&gt;
* [[engineResetModelLODDistance]]&lt;br /&gt;
|20383}}&lt;br /&gt;
* [[engineRestoreAnimation]]&lt;br /&gt;
* [[engineRestoreCOL]]&lt;br /&gt;
* [[engineRestoreModel]]&lt;br /&gt;
* [[engineSetAsynchronousLoading]]&lt;br /&gt;
* [[engineSetModelLODDistance]]&lt;br /&gt;
* [[engineSetSurfaceProperties]]&lt;br /&gt;
* [[engineGetSurfaceProperties]]&lt;br /&gt;
* [[engineResetSurfaceProperties]]&lt;br /&gt;
&amp;lt;!-- {{New items|3.0158|1.5.7|&lt;br /&gt;
* [[engineGetModelVisibleTime]]&lt;br /&gt;
* [[engineSetModelVisibleTime]]&lt;br /&gt;
|20477}} --&amp;gt; &amp;lt;!-- Commented because it was reverted in https://github.com/multitheftauto/mtasa-blue/pull/1588 --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=67643</id>
		<title>DxGetTextSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=67643"/>
		<updated>2020-10-26T00:37:53Z</updated>

		<summary type="html">&lt;p&gt;StrixG: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
{{New items|3.0158|1.5.7|This function retrieves the theoretical width and height (in pixels) of a certain piece of text, if it were to be drawn using [[dxDrawText]].|20447}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This function already takes the client's screen resolution into account.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float dxGetTextSize ( string text, [float width=0, float scaleXY=1.0, float=scaleY=1.0, mixed font=&amp;quot;default&amp;quot;, bool wordBreak=false, bool colorCoded=false] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|This syntax requires you to ignore the font argument above| [[Element/DX font|font]]:getSize}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''text:''' A string representing the text for which you wish to retrieve with width for.&lt;br /&gt;
&lt;br /&gt;
==Optional Arguments==&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''width:''' The width of the text. Use with ''wordBreak = true''.&lt;br /&gt;
* '''scale:''' The size of the text. Can (optionally) be specified as two floats. i.e. '''scaleX, scaleY'''&lt;br /&gt;
* '''font:''' Either a custom [[DX font]] element or the name of a built-in dx font:&lt;br /&gt;
{{DxFonts}}&lt;br /&gt;
* '''wordBreak:''' If set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will always be completely on one line.&lt;br /&gt;
* '''bColorCoded:''' Should we exclude color codes from the width? (false will include the hex in the length)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns two floats representing the width and height of the text (in pixels). &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example draws a text with black background at the bottom right corner of the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
local message = &amp;quot;Incredibly huuuuuuuge message&amp;quot;&lt;br /&gt;
local messageOffset = 32&lt;br /&gt;
local messagePadding = 16&lt;br /&gt;
local messageWidth = 256&lt;br /&gt;
&lt;br /&gt;
function renderMessage()&lt;br /&gt;
    local textWidth, textHeight = dxGetTextSize(message, messageWidth, 2, &amp;quot;default&amp;quot;, true)&lt;br /&gt;
    local x = screenWidth - textWidth - messageOffset&lt;br /&gt;
    local y = screenHeight - textHeight - messageOffset&lt;br /&gt;
    dxDrawRectangle(x - messagePadding, y - messagePadding, textWidth + messagePadding * 2, textHeight + messagePadding * 2, 0x80000000) -- draw background&lt;br /&gt;
    dxDrawText(message, x, y, x + textWidth, y + textHeight, 0xFFFFFFFF, 2, &amp;quot;default&amp;quot;, &amp;quot;left&amp;quot;, &amp;quot;top&amp;quot;, false, true)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;, root, renderMessage)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DxGetTextSize.png|frame|none|Example]]&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.7-9.20447|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=67642</id>
		<title>DxGetTextSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetTextSize&amp;diff=67642"/>
		<updated>2020-10-26T00:36:25Z</updated>

		<summary type="html">&lt;p&gt;StrixG: Example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}} &lt;br /&gt;
{{New items|3.0158|1.5.7|This function retrieves the theoretical width and height (in pixels) of a certain piece of text, if it were to be drawn using [[dxDrawText]].|20447}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This function already takes the client's screen resolution into account.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float dxGetTextSize ( string text, [float width=0, float scaleXY=1.0, float=scaleY=1.0, mixed font=&amp;quot;default&amp;quot;, bool wordBreak=false, bool colorCoded=false] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|This syntax requires you to ignore the font argument above| [[Element/DX font|font]]:getSize}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''text:''' A string representing the text for which you wish to retrieve with width for.&lt;br /&gt;
&lt;br /&gt;
==Optional Arguments==&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''width:''' The width of the text. Use with ''wordBreak = true''.&lt;br /&gt;
* '''scale:''' The size of the text. Can (optionally) be specified as two floats. i.e. '''scaleX, scaleY'''&lt;br /&gt;
* '''font:''' Either a custom [[DX font]] element or the name of a built-in dx font:&lt;br /&gt;
{{DxFonts}}&lt;br /&gt;
* '''wordBreak:''' If set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will always be completely on one line.&lt;br /&gt;
* '''bColorCoded:''' Should we exclude color codes from the width? (false will include the hex in the length)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns two floats representing the width and height of the text (in pixels). &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example draws a message with black background at the bottom right corner of the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
local message = &amp;quot;Incredibly huuuuuuuge message&amp;quot;&lt;br /&gt;
local messageOffset = 32&lt;br /&gt;
local messagePadding = 16&lt;br /&gt;
local messageWidth = 256&lt;br /&gt;
&lt;br /&gt;
function renderMessage()&lt;br /&gt;
    local textWidth, textHeight = dxGetTextSize(message, messageWidth, 2, &amp;quot;default&amp;quot;, true)&lt;br /&gt;
    local x = screenWidth - textWidth - messageOffset&lt;br /&gt;
    local y = screenHeight - textHeight - messageOffset&lt;br /&gt;
    dxDrawRectangle(x - messagePadding, y - messagePadding, textWidth + messagePadding * 2, textHeight + messagePadding * 2, 0x80000000) -- draw background&lt;br /&gt;
    dxDrawText(message, x, y, x + textWidth, y + textHeight, 0xFFFFFFFF, 2, &amp;quot;default&amp;quot;, &amp;quot;left&amp;quot;, &amp;quot;top&amp;quot;, false, true)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;, root, renderMessage)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DxGetTextSize.png|frame|none|Example]]&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.5.7-9.20447|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Drawing_functions}}&lt;/div&gt;</summary>
		<author><name>StrixG</name></author>
	</entry>
</feed>