AR/getSoundSpeed
From Multi Theft Auto: Wiki
يتم استخدام هذه الداله لمعرفة سرعه الصوت sound.
Syntax
float getSoundSpeed ( element theSound )
Required Arguments
- theSound: اسم الصوت الذي تريد معرفة سرعته.
Returns
القيمه float مما يدل على سرعة الصوت sound. السرعه الاسااسيه للصوت هي 1.0.
مثال
Click to collapse [-]
Clientfunction outputSpeed(soundname) 
	local sound = playSound("sounds/"..tostring(soundname)..".mp3") -- تشغيل الصوت من الملف
	setSoundVolume(sound, 0.5) -- جعل قوة الصوت 50%
	outputChatBox("The sound speed : "..getSoundSpeed(sound)) -- كتابة سرعة الصوت في الشات
end
addCommandHandler("soundspeed",outputSpeed)
By The Killer.

