V1RU5 Posted October 19, 2019 Share 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) Link to comment
Addlibs Posted October 19, 2019 Share Posted October 19, 2019 https://forum.multitheftauto.com/forum/97-portuguese-português/ 1 1 Link to comment
Other Languages Moderators Lord Henry Posted October 20, 2019 Other Languages Moderators Share Posted October 20, 2019 Já tentou usar guiSetInputEnabled? 1 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