Adham Posted May 21, 2016 Share Posted May 21, 2016 سلام عليكم مود الريبورت في ف8 report وتيجي في لوحة الادمن شسمو المود Link to comment
#|_oskar_|# Posted May 21, 2016 Share Posted May 21, 2016 قصدك اسم الملف ؟ admin_report دا اسمه Link to comment
Adham Posted May 21, 2016 Author Share Posted May 21, 2016 طيب انا عامل button وعاوز يختفي ويفتح للكونسل و القروبات المحدده فكشنات؟ Link to comment
Ahmed Ly Posted May 21, 2016 Share Posted May 21, 2016 ---Server getAccountName getPlayerAccount isObjectInACLGroup aclGetGroup triggerClientEvent --Client guiSetEnabled Link to comment
Adham Posted May 21, 2016 Author Share 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 ) Link to comment
Ahmed Ly Posted May 21, 2016 Share 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 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