Duff1995 Posted February 23, 2021 Share Posted February 23, 2021 -- no caso eu queria fazer para o painel que é definido como "Pdx" abrice por um comando ex /abrir -- function abrir (_,state) if painel == false then showCursor(true) addEventHandler("onClientRender", root, Pdx) painel = true else showCursor(false) removeEventHandler("onClientRender", root, Pdx) painel = false end end addEvent("painelrota", true) addEventHandler("painelrota", root , abrir) Link to comment
Other Languages Moderators Lord Henry Posted February 23, 2021 Other Languages Moderators Share Posted February 23, 2021 Utilize o botão <> do fórum para postar códigos. Não cole direto no texto. Além disso, deixe o código indentado para ficar legível. 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