
MineX server
Members-
Posts
21 -
Joined
-
Last visited
Everything posted by MineX server
-
Hello, I'm developing an anti-cheat system in MTA:SA and I'm trying to detect players who block or cancel the `onClientPlayerDamage` event on their side, which prevents the server from detecting damage via `onPlayerDamage`. I know that if the client cancels `onClientPlayerDamage` using `cancelEvent()`, the server-side `onPlayerDamage` event will not be triggered. Resulting in godmode and players not dying So my question is: - Is there a reliable way to detect if the client-side damage event was cancelled? - Does MTA have an anti cheat against this type of cheating ? -Are there other ways for cheating to cancel damage taken and not die? Any suggestions or ideas to detect and prevent this kind of abuse would be appreciated! Thanks in advance.
-
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
-
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
-
try other mta servers
-
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.
-
x[شروحات الدي إكس]x dxDrawRectangle - dxDrawText
MineX server replied to coNolel's topic in دروس في البرمجة
مشكور بس ابغا كيف اسوي ازار بادي اكس -
شكرا لك
-
شرح، برمجة الدى اكس (عند الضغط) + فتح اللوحة بـ زر
MineX server replied to iManGaaX's topic in دروس في البرمجة
شكرا ولله فدتني كتييييييييييييييييير- 3 replies
-
- 1
-
-
- dx
- onclientclick
- (and 6 more)
-
function Marker() x, y, z = getElementPosition(localPlayer) marker = createMarker(x, y, z, "cylinder") end addCommandHandler("marker", Marker)--هنا تحط اسم الكوماند طبعا تقدر تقرا عن الماركرات فالويكي و تعدل على الماركر يمديك برضو تغير اسم الكوماند
-
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.
-
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.
-
لسلام عيكم انا بدي اسوي مود انفنتوري لسرفري حياة واقعية انا عندي خبرة جيدة مسبقة items انا دائما عندما اثبت مودات انفنتوري الاقي يستعملو كيف اسوي هادي الايتمات و كيف اعمل لائحة ب دي اكس عشان الانفنتوري
-
السلام عيكم
انا بدي اسوي مود انفنتوري لسرفري حياة واقعية
انا عندي خبرة جيدة مسبقة
items انا دائما عندما اثبت مودات انفنتوري الاقي يستعملو
كيف اسوي هادي الايتمات و كيف اعمل لائحة ب دي اكس عشان الانفنتوري
-
شوف قناة اسمها : واحة التكنواوجيا راح تفيدك كتير فيها مودات مرة كويسة
-
How to create a Dx Panel , Please help me!
MineX server replied to MineX server's topic in Scripting
but how others can make a designed panels, like inventory or login panels he use other programming langues ? -
How to create a Dx Panel , Please help me!
MineX server replied to MineX server's topic in Scripting
Ok thanks -
How to create a Dx Panel , Please help me!
MineX server replied to MineX server's topic in Scripting
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 -
How to create a Dx Panel , Please help me!
MineX server replied to MineX server's topic in Scripting
if you can give me a simple script for it -
How to create a Dx Panel , Please help me!
MineX server replied to MineX server's topic in Scripting
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 -
How to create a Dx Panel , Please help me!
MineX server replied to MineX server's topic in Scripting
ok thx, but i cant do it with Dx, just asking -
Please help me how to create a dx panel with close button and other buttons, and how to make a hud with dx