setTimer(function ()
soundPosition = soundPosition + 1
DGS:dgsDxProgressBarSetProgress(progressbar,soundPosition)
if soundPosition == 100 then
soundPosition = 0
end
end,3000,0)
_____________________________________________________________________-
addEvent("p",true)
addEventHandler("p",root,
function (link)
if isElement(sound) then stopSound(sound) end
sound = playSound(""..link.."")
soundPosition = getSoundPosition ( sound )
end
)
في البدايه هيك سويت