overlocus Posted August 24, 2018 Share Posted August 24, 2018 function bankaGuiAc() local vis = guiGetVisible (atmAnaEkran) if (vis == false) then local team = getPlayerTeam (getLocalPlayer()) local crim = getTeamName (team) local atmSoymaB = getElementData (getLocalPlayer(),"atmSoyabilirmi") if (crim == "Criminals" and atmSoymaB) then guiSetEnabled (atmSoyButton,true) else guiSetEnabled (atmSoyButton,false) end guiSetVisible (atmAnaEkran,true) showCursor(true) guiSetText (DurumLabel,"") setElementData (getLocalPlayer(),"label1",false) setElementData (getLocalPlayer(),"label2",false) setElementData (getLocalPlayer(),"label3",false) setElementData (getLocalPlayer(),"label4",false) end end addEvent("bankaGuiAc", true) addEventHandler("bankaGuiAc", root, bankaGuiAc) how can i acces this menu just acl group i want acces this menu without team group. i just want acl group (VIP) Link to comment
SycroX Posted August 24, 2018 Share Posted August 24, 2018 getPlayerAccount isGuestAccount getAccountName isObjectInACLGroup aclGetGroup triggerClientEvent Link to comment
overlocus Posted August 24, 2018 Author Share Posted August 24, 2018 Is there anyone who can explain in more detail? Link to comment
Dimos7 Posted August 24, 2018 Share Posted August 24, 2018 you need a server side that trigger that event 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