Jump to content

MineX server

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by MineX server

  1. still when i click F4 nothing happens. This resource work very well for me:https://community.multitheftauto.com/index.php?p=resources&s=details&id=11976
  2. Idk Why But this script is not working please correct it: local browser local browserVisible = false local screenWidth, screenHeight = guiGetScreenSize() function createYouTubeBrowser() -- Create the browser with a custom size and position local browserWidth, browserHeight = 800, 600 local browserPosX, browserPosY = (screenWidth - browserWidth) / 2, (screenHeight - browserHeight) / 2 browser = createBrowser(browserWidth, browserHeight, true, false) setBrowserProperty(browser, "scalable", "false") setBrowserProperty(browser, "movable", "true") -- Load the YouTube website loadBrowserURL(browser, "https://www.youtube.com") end function toggleYouTubeBrowser() if browserVisible then -- If the browser is already showing, hide it destroyElement(browser) browserVisible = false else -- If the browser is not showing, create it createYouTubeBrowser() browserVisible = true end end -- Bind the toggleYouTubeBrowser function to the F4 key bindKey("F4", "down", toggleYouTubeBrowser) This is AI generated script from Chat GPT btw The script is not working and showing no error in the console or in the debug please help
  3. I create a 3d model in blender then i need to use it in mta, But i dont know how, and how i can replace or add an mta interior with 3d interior with blender.
  4. How i can Set vehicle armor.
  5. function Marker() x, y, z = getElementPosition(localPlayer) marker = createMarker(x, y, z, "cylinder") end addCommandHandler("marker", Marker)--هنا تحط اسم الكوماند طبعا تقدر تقرا عن الماركرات فالويكي و تعدل على الماركر يمديك برضو تغير اسم الكوماند
  6. I need to create a admin panel mod, how i can give mySelf a rank, and how i can choose theplayer i want to upgrade him and demote him, if you can give me a script for that.
  7. I need to create a admin panel mod, how i can give mySelf a rank, and how i can choose theplayer i want to upgrade him and demote him, if you can give me a script for that.
  8. لسلام عيكم انا بدي اسوي مود انفنتوري لسرفري حياة واقعية انا عندي خبرة جيدة مسبقة items انا دائما عندما اثبت مودات انفنتوري الاقي يستعملو كيف اسوي هادي الايتمات و كيف اعمل لائحة ب دي اكس عشان الانفنتوري
  9. السلام عيكم

    انا بدي اسوي مود انفنتوري لسرفري حياة واقعية

    انا عندي خبرة جيدة مسبقة

     items انا دائما عندما اثبت مودات انفنتوري الاقي يستعملو 

    كيف اسوي هادي الايتمات و كيف اعمل لائحة ب دي اكس عشان الانفنتوري

  10. شوف قناة اسمها : واحة التكنواوجيا راح تفيدك كتير فيها مودات مرة كويسة
  11. but how others can make a designed panels, like inventory or login panels he use other programming langues ?
  12. In normal gui i can do like this: GUIEditor = { button = {}, window = {} } function GUI() GUIEditor.window[1] = guiCreateWindow(599, 297, 163, 121, "Talk Menu", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) guiSetInputEnabled(false) GUIEditor.button[1] = guiCreateButton(9, 25, 144, 43, "Say Hi!", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(9, 72, 144, 39, "Close", false, GUIEditor.window[1]) end addEventHandler("onClientResourceStart", resourceRoot, GUI) setElementData(localPlayer, "show", false) function show() if getElementData(localPlayer, "show") == false then guiSetVisible(GUIEditor.window[1], true) guiSetInputEnabled(true) setElementData(localPlayer, "show", true) return elseif getElementData(localPlayer, "show") == true then guiSetVisible(GUIEditor.window[1], false) guiSetInputEnabled(false) setElementData(localPlayer, "show", false) end end bindKey("h", "down", show) function click() if source == GUIEditor.button[1] then outputChatBox("Hi!") guiSetVisible(GUIEditor.window[1], false) guiSetInputEnabled(false) elseif source == GUIEditor.button[2] then guiSetVisible(GUIEditor.window[1], false) guiSetInputEnabled(false) end end addEventHandler("onClientGUIClick", root, click) How i can do like the click function ,choose the button and add a event (on clicked will do command) But on Dx panel, i can understand if you give me a full script
  13. Ok thanks, now i create a custom window that shows when you press ( i ) : function openwin() dxDrawRectangle(510, 217, 368, 349, tocolor(3, 0, 0, 179), false) dxDrawRectangle(523, 518, 68, 38, tocolor(201, 12, 12, 254), false) dxDrawText("Close", 521, 525, 591, 552, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, false, false, false) dxDrawRectangle(601, 518, 68, 38, tocolor(40, 36, 36, 180), false) dxDrawText("Use", 599, 525, 669, 552, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, false, false, false) dxDrawRectangle(524, 326, 128, 75, tocolor(201, 12, 12, 254), false) dxDrawText("Bottle", 527, 345, 642, 387, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, false, false, false) end setElementData(localPlayer, "open", false) function show() if getElementData(localPlayer, "open") == true then removeEventHandler("onClientRender", getRootElement(), openwin) setElementData(localPlayer, "open", false) showCursor(false) return elseif getElementData(localPlayer, "open") == false then addEventHandler("onClientRender", root, openwin) showCursor(true) setElementData(localPlayer, "open", true) end end bindKey("i", "down", show) Now i need how to create a button
  14. You will learn, Dont worry.

  15. Please help me how to create a dx panel with close button and other buttons, and how to make a hud with dx
×
×
  • Create New...