punisher-AE Posted October 30, 2012 Posted October 30, 2012 السلام عليكم ورحمت الله وبركاته انا بي كود يعطي للمود الصلحيات مثال : علشان تشتغل لوحه الادمن لازم تكون مضافه بقروب الادمن "؟؟؟ يعني الكود يعطي الصلحيات
punisher-AE Posted October 30, 2012 Author Posted October 30, 2012 انا مابي يوز انا بي resource.اسم المود مابي user.اسم الحساب
TAPL Posted October 30, 2012 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.> طبعاً عشان المود يقدر يعطي صلاحية لمود ثاني لازم المود يكون عنده صلاحية أعطاء صلاحيات
punisher-AE Posted October 30, 2012 Author Posted October 30, 2012 انا ابيه علشا ن الغم موداتي لانه الاستضافه الي معي فيها ثغرات كثيره وامابي موداتي تنسرق
3NAD Posted October 30, 2012 Posted October 30, 2012 addEventHandler( "onResourceStart", resourceRoot, function ( res ) if not isObjectInACLGroup ( "resource." .. getResourceName ( res ), aclGetGroup ( "Admin" ) ) then -- Your Code . . end end )
abu5lf Posted October 30, 2012 Posted October 30, 2012 addEventHandler ( 'onResourceStart', resourceRoot, function ( res ) if not isObjectInACLGroup ( 'resource.' .. getResourceName ( res ), aclGetGroup ( 'Admin' ) ) then cancelEvent ( ) 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