Adham Posted May 21, 2016 Posted May 21, 2016 سلام عليكم مود الريبورت في ف8 report وتيجي في لوحة الادمن شسمو المود
Adham Posted May 21, 2016 Author Posted May 21, 2016 طيب انا عامل button وعاوز يختفي ويفتح للكونسل و القروبات المحدده فكشنات؟
Ahmed Ly Posted May 21, 2016 Posted May 21, 2016 ---Server getAccountName getPlayerAccount isObjectInACLGroup aclGetGroup triggerClientEvent --Client guiSetEnabled
Adham Posted May 21, 2016 Author Posted May 21, 2016 شالخطا؟ addEventHandler("onClientGUIClick", root, function () if( source == button ) then guiSetEnabled ( button, false ) triggerServerEvent("Adham",localPlayer) end end ) addEvent("Adham", true) addEventHandler("Adham", root, function ( thePlayer ) accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ('user.'..accName, aclGetGroup ( "Console" ) ) then triggerClientEvent( thePlayer, 'Adham', thePlayer ) end end )
Ahmed Ly Posted May 21, 2016 Posted May 21, 2016 guiSetEnabled ( button, false ) function ranks () guiSetEnabled ( button, true ) end addEvent("aa",true) addEventHander("aa",root,ranks) ----- function mm ( thePlayer ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ('user.'..accName, aclGetGroup ( "Console" ) ) then triggerClientEvent( 'aa', thePlayer ) end end
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