Jump to content

d43dr4

Members
  • Posts

    319
  • Joined

  • Last visited

Everything posted by d43dr4

  1. شكرا تابل شكرا جزيلا اوك الحين ، اذا ممكن كيف اربطها مع لوحة الادمنية يعني نفس فنكشن الادمنية مع ذي اللوحة ؟ يعني مشان تسوي نفس عمل اللي فاللوحة
  2. النــآفذة : GUIEditor = { edit = {}, button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(417, 315, 482, 107, "Execute command handler", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(407, 47, 60, 22, "Client", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(407, 75, 60, 22, "Server", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(10, 26, 329, 18, "Type your command here :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "clear-normal") GUIEditor.label[2] = guiCreateLabel(3, 22, 259, 25, "", false, GUIEditor.label[1]) GUIEditor.label[3] = guiCreateLabel(190, 26, 299, 19, "For advanced users only.", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.edit[1] = guiCreateEdit(37, 54, 360, 31, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(8, 60, 37, 25, "CMD:", false, GUIEditor.window[1]) يرجى تعديلها لجعلها تفتح لي فقط Bindkey F2 ==> please شكرا
  3. can u just edit the window for me please guys, just beginner on lua please ..
  4. Here's the windows code : GUIEditor = { edit = {}, button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(417, 315, 482, 107, "Execute command handler", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(407, 47, 60, 22, "Client", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(407, 75, 60, 22, "Server", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(10, 26, 329, 18, "Type your command here :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "clear-normal") GUIEditor.label[2] = guiCreateLabel(3, 22, 259, 25, "", false, GUIEditor.label[1]) GUIEditor.label[3] = guiCreateLabel(190, 26, 299, 19, "For advanced users only.", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.edit[1] = guiCreateEdit(37, 54, 360, 31, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(8, 60, 37, 25, "CMD:", false, GUIEditor.window[1])
  5. Okey thx done BRB Sleep Tomorrow will complete
  6. Okey will try But how to save a gui that created on guieditor ? i have create a window but can save it
  7. Thats not what i mean , You see the Resources TAB on admin panel, there is a client / server button , and something to write there i delete it from admin panel cause they can crash server from it and for some other reasons but i want it to open just for me as a lonely window i have create the window but i cant save it with guieditor so please tell me how
  8. Hello everyone, I have a question and i hope to find its answer _ How to save a work on guieditor _ Is it possible to create a window with buttons etc , to do same job of " Execute command handler " but out of admin panel and just opens for a specified player ( with serial ) I have to find a script that execute commands urgernt please Thx guys
  9. @Max+ ذي مو عندها اي نفع للي ادور عليه انا ابيها لوحة او نافذة مثل حقت الادمنية لكن منفرده
  10. What a script .. Thats awesome, thx Pres[T]ege + MR.S3D
  11. ذا اللي اخذته من الادمنية Admin_main.lua 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 ) aLogLines = 1 elseif ( source == aTab2.ManageACL ) then aManageACL() elseif ( source == aTab2.ResourceRefresh or source == aTab2.ResourceInclMaps ) then guiGridListClear ( aTab2.ResourceList ) triggerServerEvent ( "aSync", getLocalPlayer(), "resources" ) 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 ) end Admin_server.lua 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 ) ممكن مساعدة ؟
  12. اجل ما انتبهت اسف
  13. السلام عليكم و رحمة الله تعالى و بركاته شباب في بالي استفسار وابي اجابة عليه من فضلكم الاستفسار هو: هل من الممكن صنع نافذة لها نفس عمل Execute Command Handler لكن تكون منفصلة عن لوحة الادمن .. شكرا
  14. Lol , Algerie BYE BYE Maroc === Attende pour la Tunisie !! Alleh ykoun fi l3aoun
  15. Hhhhhh , mais wech jabou l match bin ALG x TUN ? Mebrouk l fouz
  16. Merci wassmas KFOO kima y9oulou houma .. C bien fait
  17. d43dr4

    CJ Clothes

    Hello guys I have a question or a probleme Can i add custom clothes by .txd / .dff ? If yes how ? If no how to do something to add it to server i try to use it as a skin ( player ) and it doesnt work so please help
  18. كفؤؤؤؤؤؤؤ سعد خلص شكرا احمد كمان تم ^^
×
×
  • Create New...