punisher-AE Posted October 30, 2012 Share Posted October 30, 2012 السلام عليكم ورحمت الله وبركاته انا بي كود يعطي للمود الصلحيات مثال : علشان تشتغل لوحه الادمن لازم تكون مضافه بقروب الادمن "؟؟؟ يعني الكود يعطي الصلحيات Link to comment
./BlackBird# Posted October 30, 2012 Share Posted October 30, 2012 اتوقع تقصد ذا aclGroupAddObject Link to comment
punisher-AE Posted October 30, 2012 Author Share Posted October 30, 2012 انا مابي يوز انا بي resource.اسم المود مابي user.اسم الحساب Link to comment
TAPL Posted October 30, 2012 Share Posted October 30, 2012 انا مابي يوز انا بي resource.اسم المود مابي user.اسم الحساب This function adds an object to the given ACL group. An object can be a player's account, specified as: user.> Or a resource, specified as: resource.> طبعاً عشان المود يقدر يعطي صلاحية لمود ثاني لازم المود يكون عنده صلاحية أعطاء صلاحيات Link to comment
punisher-AE Posted October 30, 2012 Author Share Posted October 30, 2012 انا ابيه علشا ن الغم موداتي لانه الاستضافه الي معي فيها ثغرات كثيره وامابي موداتي تنسرق Link to comment
abu5lf Posted October 30, 2012 Share Posted October 30, 2012 حط المود مايشتغل الا اذا كان في قروب الادمن Link to comment
punisher-AE Posted October 30, 2012 Author Share Posted October 30, 2012 ممكن الطريقه او الكود Link to comment
3NAD Posted October 30, 2012 Share Posted October 30, 2012 addEventHandler( "onResourceStart", resourceRoot, function ( res ) if not isObjectInACLGroup ( "resource." .. getResourceName ( res ), aclGetGroup ( "Admin" ) ) then -- Your Code . . end end ) Link to comment
punisher-AE Posted October 30, 2012 Author Share Posted October 30, 2012 شكرن عناد و جاري تجريب الكود Link to comment
punisher-AE Posted October 30, 2012 Author Share Posted October 30, 2012 اخووي الكود مو شغال Link to comment
abu5lf Posted October 30, 2012 Share Posted October 30, 2012 addEventHandler ( 'onResourceStart', resourceRoot, function ( res ) if not isObjectInACLGroup ( 'resource.' .. getResourceName ( res ), aclGetGroup ( 'Admin' ) ) then cancelEvent ( ) 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