Dadinho2828 Posted April 25, 2020 Share Posted April 25, 2020 (edited) Olá eu tenho um painel de login super certinho que normalmente funciona mas tenho uma vida seria possível enquanto ainda está fazendo o download do servidor ou painel de login e estar aparecendo na tela? pq ele só aparece por último e fica uma tela preta no caso o arquivo .zip do painel de login de chama Painellogin se eu adicionasse isso a o arquivo server do meu painel de login ele se tornaria prioridade? function setResourcePriority(theResource, priority) local Painellogin = getResourceName(theResource) local theMeta = Painellogin and xmlLoadFile(":"..Painellogin.."/meta.xml") if (theMeta) then local node = xmlFindChild(theMeta, "download_priority_group", 1) if (node) then xmlNodeSetValue(node, tonumber(priority)) else local newNode = xmlCreateChild(theMeta, "download_priority_group") xmlNodeSetValue(newNode, tonumber(priority)) end xmlSaveFile(theMeta) xmlUnloadFile(theMeta) return true end return false end Edited April 25, 2020 by Dadinho2828 Link to comment
beast99 Posted April 25, 2020 Share Posted April 25, 2020 Basta você ir no arquivo meta.xml e colocar: <download_priority_group>1</download_priority_group> 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