سويته لك بطريقة مختصرة ومفهومة
Table = {
{216.10000610352, 1923.5, 19.299999237061},
{207.10000610352, 1923.5, 19.299999237061},
{197.89999389648, 1923.5, 19.299999237061},
{217.80000305176, 1851.1999511719, 14.300000190735},
}
addEventHandler("onClientGUIClick", root,
function ( )
if ( source == GUIEditor.button[1] ) then
if isElement ( sound ) then destroyElement ( sound ) end
for i , Pos in ipairs ( Table ) do
sound = playSound3D ( "music/1.mp3", Pos[1], Pos[2], Pos[3] )
setSoundMaxDistance ( sound, 150 )
end
elseif ( source == GUIEditor.button[2] ) then
if isElement ( sound ) then destroyElement ( sound ) end
elseif ( source == GUIEditor.button[3] ) then
showCursor( false )
guiSetVisible( GUIEditor.window[1] , false )
end
end
) ;
لا احلل من يستخدمه في اغاني
بالتوفيق