Multi Theft Auto (MTA) => MTA: Szerverfejlesztés => Segítségkérés => A témát indította: Zoli1212121212 - 2017. május 06. - 16:57:05
Cím: Bajom akadt a playSound-al! Segítsetek!
Írta: Zoli1212121212 - 2017. május 06. - 16:57:05
Sziasztok! A playSound belassítja a zenéket. Linkeletem róla egy videót. Kérlek segítsetek megoldani (Bocsi, hogy fejtetőn van a kép, de ugyis a hang a lényeg!)
Cím: Bajom akadt a playSound-al! Segítsetek!
Írta: BlackSy - 2017. május 06. - 17:05:07
Szia, a script-et mellékelnéd?
Cím: Bajom akadt a playSound-al! Segítsetek!
Írta: Zoli1212121212 - 2017. május 06. - 17:06:59
function dashboard() if show == true then local x,y = guiGetScreenSize() local oX,oY = 1920, 1080 local sound = playSound(\'zene.mp3\') setSoundVolume(sound, 1) dxDrawImage (0/oX*x, 0/oY*y, 1920/oX*x, 1080/oY*y, \'kep.png\', 0, -120 ) dxDrawRectangle(260/oX*x, 340/oY*y, 1400/oX*x, 100/oY*y, 0x7F000000) dxDrawRectangle(260/oX*x, 340/oY*y, 1400/oX*x, 100/oY*y, 0x7F000000) dxDrawText(\"World\", 260, 240, 280, 30, tocolor(0, 222, 255, 188), 4, \"pricedown\") dxDrawText(\"Life\", 540, 260, 280, 30, tocolor(255, 255, 255, 255), 3, \"pricedown\")
dxDrawRectangle(1357/oX*x, 465/oY*y, 228/oX*x, 100/oY*y, 0x7F000000) dxDrawRectangle(1357/oX*x, 465/oY*y, 228/oX*x, 100/oY*y, 0x7F000000) end end addEventHandler(\"onClientRender\", root, dashboard)
local openedTime = 0 function MutatDashboard() if getTickCount()-openedTime <= 5 and not show then outputChatBox(\"Csak 5 másodpercenként nyithatod meg a dashboardot.\", 2) return else openedTime = getTickCount() end