V1RU5 Posted October 19, 2019 Posted October 19, 2019 quando estou logando o inventario abre enquanto eu estou digitando minha senha, estão queria colocar para que o painel inventario abri-se somente se o player estiver online. mas eu não consegui. script de abrir o painel: function FecharAbrirPainel () if painel == false then addEventHandler ( "onClientRender", root, PainelInventario ) painel = true showCursor ( true ) playSoundFrontEnd ( 43 ) setElementData(localPlayer, "TS:Aba", "Inicial") else removeEventHandler ( "onClientRender", root, PainelInventario ) playSoundFrontEnd ( 43 ) painel = false showCursor ( false ) Lista_Drogas:SetVisible(false) end end bindKey ("I" , "down" , FecharAbrirPainel)
Addlibs Posted October 19, 2019 Posted October 19, 2019 https://forum.multitheftauto.com/forum/97-portuguese-português/ 1 1 Previously known as MrTasty.
Moderators Lord Henry Posted October 20, 2019 Moderators Posted October 20, 2019 Já tentou usar guiSetInputEnabled? 1 Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
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