Jump to content

iNawaF

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by iNawaF

  1. 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
  2. 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
  3. I wish you the best with your sale .
  4. 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.
  5. تاكد من الصوره دام ما يعطيك دي بق لو في خطا المصحح يعطيك
  6. افتح الدي بق وشف الاخطأ لم تجي تشغل الوحه اذا ما قدرت تحل المشكله بنفسك تقدر تطرحه هنا بالموضوع حقك ? .
  7. مشاء الله بالتوفيق لك ان شاء الله القيم مود جميل
  8. iNawaF

    Help me

    Go to ACL, add resource.* in Console group and Admin
  9. Discord : iNawaF#9110 اي شي تبغاه تواصل معي بالديسكورد عشان اساعدك @MoOoOdE
  10. Do you have beautiful memories in Multi Theft Auto !!
  11. use dgsCreateLabel - Multi Theft Auto: Wiki dgsCreateLabel
  12. addEventHandler( 'onClientRender', root, function( ) setTime( 12, 0 ) end ) setTime - Multi Theft Auto: Wiki
  13. local screenW, screenH = guiGetScreenSize() Add this to show the font and sizes for everyone mta
  14. iNawaF

    Help me

    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
  15. فكرة جميلة استمر بارك الله فيك ?.
  16. مشاء الله فكرة جميلة جدأ صراحة اهنيك عليه
  17. اتمنى لكم التوفيق صراحة سيرفر جميل وفكرة سيرفر مكس حرب عصابات هجولة وحياة واقعية اهنيكم استمرو
  18. مثل اذ تبي السكربت هذا الجميع يستخدمه حاول تسوي له تحديثات ما بين فتره وفتره وتضيف فيه مميزات جديدة زي وضع ماركر اخذ فلوس او وضع اوبجكتات او وضع شخصية وغيره كثير يعني من الافكار جديدة
  19. افضل السكربتات و المابات الي سويته او جربته نبي نشوف ابدعات مبرمجين العرب انشاء الله الكل يشارك ب الموضوع هذا عام طبعأ . - 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...