Jump to content

NightWatch404

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by NightWatch404

  1. Since you are testing on localhost, the easiest way is to disable the serial verification in your server settings so it allows you to connect twice. You can do this by opening your mtaserver.conf file, finding the <disableac> tag, and adding the anti-cheat codes there to turn them off for local testing. If you still want to use the Virtual Machine, the reason you are getting the serial error is likely your network settings. Make sure your VM network adapter is set to "Bridged" instead of "NAT". This will give the VM its own local IP address on your router, separating it from your main PC. I am not sure if this is allowed in MTA, but I was just testing it on my own server out of curiosity.
  2. I was testing this anti-cheat, but I noticed that some of the detections are reacting late. For example, with the event spam detection, I tried spamming a trigger from the client side. The server actually processed and executed the action first, and then the kick happened after that.
  3. The core issue is that MTA automatically resets the FOV when entering a vehicle. In your code, the custom FOV is only applied when the chase camera is enabled, so it gets reset upon vehicle entry. To fix this, apply the FOV continuously or bind it to the onClientPlayerVehicleEnter event to ensure it stays consistent while driving
  4. The default keys like T, Y, U, and B are auto-bound by the MTA client for chat commands You can change them using a clientside script first unbind the key then bind it to your radio command For example : -- Unbind the default team chat key unbindKey("t", "down") -- Bind T key to run your radio command bindKey("t", "down", function() executeCommandHandler("radio") end) You can do the same for Y, U, B, etc. This will override the default chat binds on your server while players are connected
  5. I wish you the best with your sale .
  6. Identify the Sound Groups Check the documentation or forums for the specific sound group IDs for hydra, shamal, and at400. Engine sounds typically fall under specific IDs https://wiki.multitheftauto.com/wiki/SetWorldSoundEnabled Using setWorldSoundEnabled -- Disable engine sounds for hydra, shamal, and at400 local aircraftSoundGroup = 19 -- Example sound group ID for engines setWorldSoundEnabled(aircraftSoundGroup, false) Test Different IDs If the above ID does not work, try other sound group IDs that may be associated with aircraft sounds. You may need to experiment with IDs until you find the correct one. Check Conflicting Scripts Make sure that no other scripts are interfering with the sound settings. Disable other sound-related scripts temporarily to isolate the issue.
  7. تاكد من الصوره دام ما يعطيك دي بق لو في خطا المصحح يعطيك
  8. افتح الدي بق وشف الاخطأ لم تجي تشغل الوحه اذا ما قدرت تحل المشكله بنفسك تقدر تطرحه هنا بالموضوع حقك ? .
  9. مشاء الله بالتوفيق لك ان شاء الله القيم مود جميل
  10. Go to ACL, add resource.* in Console group and Admin
  11. Discord : iNawaF#9110 اي شي تبغاه تواصل معي بالديسكورد عشان اساعدك @MoOoOdE
  12. Multi Theft Auto | Community
  13. Do you have beautiful memories in Multi Theft Auto !!
  14. use dgsCreateLabel - Multi Theft Auto: Wiki dgsCreateLabel
  15. addEventHandler( 'onClientRender', root, function( ) setTime( 12, 0 ) end ) setTime - Multi Theft Auto: Wiki
  16. local screenW, screenH = guiGetScreenSize() Add this to show the font and sizes for everyone mta
  17. Check out admin_server.lua Or replace the file addEvent ( "aResource", true ) addEventHandler ( "aResource", root, function ( name, action ) if checkClient( "command."..action, source, 'aResource', action ) then return end local pname = getPlayerName ( source ) if ( hasObjectPermissionTo ( client or source, "command."..action ) ) then local text = "" if ( action == "start" ) then if ( startResource ( getResourceFromName ( name ), true ) ) then text = "started" end elseif ( action == "restart" ) then if ( getResourceState ( getResourceFromName ( name ) ) == "running" ) then if ( restartResource ( getResourceFromName ( name ) ) ) then text = "restarted" end end elseif ( action == "stop" ) then if ( stopResource ( getResourceFromName ( name ) ) ) then text = "stopped" end elseif ( action == "delete" ) then if ( deleteResource ( getResourceFromName ( name ) ) ) then text = "deleted" end elseif ( action == "stopall" ) then if ( stopAllResources ( ) ) then text = "All Stopped" end end if ( text ~= "" ) then outputServerLog ( "ADMIN: Resource \'" .. name .. "\' " .. text .. " by " .. getAdminNameForLog ( source ) ) for id, player in ipairs(getElementsByType("player")) do triggerClientEvent ( player, "aClientLog", root, text ) end end return true end outputChatBox ( "Access denied for '"..tostring ( action ).."'", source, 255, 168, 0 ) return false end ) Access the admin_server.lua file look for line 1261 and put the said code
  18. فكرة جميلة استمر بارك الله فيك ?.
  19. مشاء الله فكرة جميلة جدأ صراحة اهنيك عليه
  20. اتمنى لكم التوفيق صراحة سيرفر جميل وفكرة سيرفر مكس حرب عصابات هجولة وحياة واقعية اهنيكم استمرو
  21. مثل اذ تبي السكربت هذا الجميع يستخدمه حاول تسوي له تحديثات ما بين فتره وفتره وتضيف فيه مميزات جديدة زي وضع ماركر اخذ فلوس او وضع اوبجكتات او وضع شخصية وغيره كثير يعني من الافكار جديدة
  22. افضل السكربتات و المابات الي سويته او جربته نبي نشوف ابدعات مبرمجين العرب انشاء الله الكل يشارك ب الموضوع هذا عام طبعأ . - The best scripts and maps that I have done or tried, we will see the innovations of Arab programmers, God willing, everyone will participate in this topic, of course. This is a year.
×
×
  • Create New...