Jump to content

مساعده


Recommended Posts

Posted

السلام عليكم ياشباب

انا كنت ابغى مود لوحه اسل محمى من الاكواد

ومود انى اسوى باص للرتب والترقىه

ارجو انك لا تبخلون على بالمودات

:) وشكرا

Posted

يقصد المستطيل حق الاكوآد الي عنده كلينت وسيرفر بتاب الريسورس

والطلب الثاني يقصد بآس للأسل , أتوقع وآصح

Posted

رح الى لوحة الادمنية و احذف هالأكواد ذي ,

رح الى ملف

[admin]\admin\client\gui\admin_main.lua

ثم رح الى سطر 147

ابحث عن الكود ذا

                          guiCreateLabel ( 0.41, 0.65, 0.50, 0.04, "Execute Command:", true, aTab2.Tab ) 
        aTab2.Command       = guiCreateEdit ( 0.41, 0.70, 0.40, 0.055, "", true, aTab2.Tab ) 
        aTab2.ExecuteClient = guiCreateButton ( 0.82, 0.70, 0.16, 0.035, "Client", true, aTab2.Tab, "execute" ) 
        aTab2.ExecuteServer = guiCreateButton ( 0.82, 0.736, 0.16, 0.035, "Server", true, aTab2.Tab, "execute" ) 
        aTab2.ExecuteAdvanced   = guiCreateLabel ( 0.45, 0.71, 0.50, 0.04, "For advanced users only.", true, aTab2.Tab ) 
                          guiLabelSetColor ( aTab2.ExecuteAdvanced, 255, 0, 0 ) 

واحذفه

ثم رح الى سطر 951

وابحث عن

            elseif ( source == aTab2.ExecuteClient ) then 
                if ( ( guiGetText ( aTab2.Command ) ) and ( guiGetText ( aTab2.Command ) ~= "" ) ) then aExecute ( guiGetText ( aTab2.Command ), true ) end 
            elseif ( source == aTab2.ExecuteServer ) then 
                if ( ( guiGetText ( aTab2.Command ) ) and ( guiGetText ( aTab2.Command ) ~= "" ) ) then triggerServerEvent ( "aExecute", getLocalPlayer(), guiGetText ( aTab2.Command ), true ) end 
            elseif ( source == aTab2.Command ) then 
                guiSetInputEnabled ( true ) 
                guiSetVisible ( aTab2.ExecuteAdvanced, false ) 
            elseif ( source == aTab2.ExecuteAdvanced ) then 
                guiSetVisible ( aTab2.ExecuteAdvanced, false ) 

واحذفه

وسوي حفظ للملف !

ثم رح الى ملف

[admin]\admin\server\admin_server.lua

ورح الى سطر 1372

وابحث عن

addEvent ( "aExecute", true ) 
addEventHandler ( "aExecute", _root, function ( action, echo ) 
    if checkClient( "command.execute", source, 'aExecute', action ) then return end 
    if ( hasObjectPermissionTo ( source, "command.execute" ) ) then  
        local result = loadstring("return " .. action)() 
        if ( echo == true ) then 
            local restring = "" 
            if ( type ( result ) == "table" ) then 
                for k,v in pairs ( result ) do restring = restring..tostring ( v )..", " end 
                restring = string.sub(restring,1,-3) 
                restring = "Table ("..restring..")" 
            elseif ( type ( result ) == "userdata" ) then 
                restring = "Element ("..getElementType ( result )..")" 
            else 
                restring = tostring ( result ) 
            end 
            outputChatBox( "Command executed! Result: " ..restring, source, 0, 0, 255 ) 
        end 
        outputServerLog ( "ADMIN: "..getAdminNameForLog ( source ).." executed command: "..action ) 
    end 
end ) 

واحذف الكود

وسوي حفظ #

Posted

اذا يبي يخلي الـ

Execute

معطلة

مايعدل على الادمن ولا شيء

يسوي له قروب واسل خاص لصاحب السيرفر

command.execute = true

معناه انه مفعل

command.execute = false

معطل

يمديك تعدل على الامر هذا من الاسل بدون ماتروح للادمنية

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...