magnux Posted February 1, 2021 Share Posted February 1, 2021 SALVE GALERA QUERIA COLOCAR UMA ACL NESSA PARTE PARA SO QUEM TEM A ACL PODE CLICK NESSE BOTÃO E QUEM NÃO TA NA ACL DEIXA UMA MSG !!! function PMRJ(_,state) if painellobby2 == true then if state == "down" then if isCursorOnElement (x*428, y*529, x*125, y*19) then triggerServerEvent ("PMRJ", getLocalPlayer()) removeEventHandler ("onClientRender", root, lobby) removeEventHandler ("onClientRender", root, salas) removeEventHandler ("onClientRender", root, regras) removeEventHandler ("onClientRender", root, infor) removeEventHandler ("onClientRender", root, HypeHud) showCursor (false) setCameraTarget(localPlayer) showChat(true) painellobby = false painellobby2 = false painellobby3 = false HudVisible = false painellobby4 = false end end end end addEventHandler ("onClientClick", root, PMRJ) Link to comment
Cr0wLey Posted February 1, 2021 Share Posted February 1, 2021 isObjectInACLGroup só funciona em server-side. 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