#StrOnG_,) Posted June 19, 2015 Share Posted June 19, 2015 السلام عليكم ورحمه الله وبركاته كيفكم شباب ؟ .. أن شاء الله بخير . . أبي فنكشن فتح اللوحة من اف 8 لقروب معين .. وشكرآ Link to comment
Simple. Posted June 20, 2015 Share Posted June 20, 2015 قروب آسل , ولا قروب بمود القروبات؟ Link to comment
Ac[T]ioN Posted June 20, 2015 Share Posted June 20, 2015 getAccountName isObjectInACLGroup aclGetGroup addCommandHandler Link to comment
Mr.R Posted June 20, 2015 Share Posted June 20, 2015 Client Side addCommandHandler ( "الكلمه الي تبيها", function ( ) local AccountName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ( "user."..AccountName, aclGetGroup ( "اسم القروب الي تبيه" ) ) then triggerClientEvent ( source, "OpenWindow", source ) end end ) Server Side addEvent ( "OpenWindow", true ) addEventHandler ( "OpenWindow", root, function ( ) guiSetVisible ( اسم النافذه, true ) showCursor ( true ) 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