Turbesz Posted July 21, 2022 Share Posted July 21, 2022 I using an custom download screen, and the setTransferBoxVisible thing was worked before, but now does not hide the box... code: function downloadComplete() showCursor(false) --if percentage == -0 then return end if getElementData(localPlayer,"logined") == true then return end if not isTransferBoxActive() then stopSound(zene) --c = nil setTransferBoxVisible(true) removeEventHandler("onClientRender", root, downloadingScreen) else setTimer(downloadComplete,500, 1) end end addEventHandler("onClientResourceStart", resourceRoot, function() showCursor(false) if percentage == -0 then percentage = 0 end if getElementData(localPlayer,"logined") == true then return end setTransferBoxVisible(false) addEventHandler("onClientRender", root, downloadingScreen) zene = playSound("files/zene.mp3", true) -- Play song --setSoundVolume(c.song, c.vol) showChat(false) setTimer(downloadComplete, 500, 1) end) I tried with server trigger, and with everything but nothing... what wrong, how to fix? Link to comment
Rick_Grimes Posted July 25, 2022 Share Posted July 25, 2022 check your mta server version and mta version is : 1.5.8-9.20788 Link to comment
Tails Posted July 25, 2022 Share Posted July 25, 2022 Also make sure you have disabled "Always show download window" in the mta settings. 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now