Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/09/20 in all areas

  1. Community للتحميل GitHub للمصدر
    2 points
  2. This quickguide covers how you can remove objects like night lights and wires. SAMP editor method To install SAMP editor, simply drag and drop the packaged contents into your GTA SA installation. Run the application. https://www.moddb.com/downloads/san-andreas-multiplayer-map-editor Code for removing object in video removeWorldModel ( 16745, 1, 392.9141, 1511.5625, 21.5859 ) ^This is for the script.Lua file <meta> <script src="script.Lua" type="server" /> </meta> ^This is for the meta.xml file For those who want to load it into a .map file, the below code can be edited with your coordinates, ID and radius. <removeWorldObject id="removeWorldObject (objectname) (1)" radius="100" interior="0" model="9934" posX="-1724" posY="765" posZ="24" rotX="0" rotY="0" rotZ="0"></removeWorldObject> ^This is for the .map file if you rather use map editor format Note: SAMP editor doesn't want to run if MTA (gta exe) is already running. Therefore you'll want to add SAMP editor into a separate gta sa installation. I use 3 (1 for playing, 1 for samp editor, 1 as clean backup) on my PC. This requires 12gb disk space. This lets you boot up MTA and SAMP editor without conflicting issues. Prineside method Prineside is a site containing IPL and IDE information about objects, it also serves a GTA map with position pinpoint functionality, allowing you to get the object ID easily by clicking a spot in the map. Use Prineside's Model search by location to pinpoint the location closest to the object of interest. This generates a list of objects within 500 meters from the pin, closest to farthest. Clicking an object page gets you its object name and ID. At the bottom of an object page you can get the position export. Repeat the steps from SAMP editor method for adding the coordinates to the code. Transcluent/transparent objects like shadows, telewires and small flowers may not have any clear thumbnail, in which case it's actually easier to spot them as they're the ones with an empty thumbnail. https://wiki.multitheftauto.com/wiki/RemoveWorldModel https://dev.prineside.com/en/gtasa_samp_model_id/
    1 point
  3. سلام عليكم تم افتتاح سيرفر حرب المافيا --- اتمنى تنورونى فى السيرفر شرح بعد المميزات..... واى بى السيرفر اخر الموضوع اختيار الشخصية بالماوس كلكتين صورة الماب سكنات وسيارة معدلة للشرطة ودة المركز الى بيرسبنوة فية امن اف تقدرو تغيروة الرسبون بتاع المدينة ورسبون مدينة الاحتلال بينزلك فى قاعدة الجيش الى فى الصحرا ولو سانتوس مركز الشرطة القديم ولو موت اكتر من مرة بيتم تغيير الرسبون لمكان اخر عشوائى هناك اكتر من رسبون للشرطة ----------------------------------------------------------------- بالنسبة للمجرمين سيارة معدلة ودة مكان الرسبون الخاص بيهم ويتغير من اف1 نفس نظام الشرطة السيرفر قتال عنيف مفيهوش سجن اى لاعب يدمج لاعب يحصل على نجوم وسيارت رخصية والسيارة الى تشتريها لاتباع لانها رخيصة جدا تختفظ بيها دائما سرقة بنك ومحلات ومهما ت وظائف جيم وهناك المزيد وشى اخير شكرا لكل واحد قدم ليا المساعدة هنا mtasa://51.255.215.248:23020
    1 point
  4. 1 point
  5. NOT TESTED I just build my own method due to I don't feel confortable with your way. Here you have local showImage = 1 local switchTick = getTickCount() local interval = 3000 --Image duration (Including fade) local images = { {path = "image1", alpha = 0}, {path = "image2", alpha = 0}, {path = "image3", alpha = 0}, {path = "image4", alpha = 0}, } function drawImages() if getTickCount() - switchTick > interval then showImage = showImage + 1 if showImage > #images then showImage = 1 end switchTick = getTickCount() end for i,k in ipairs(images) do if i == showImage then k.alpha = math.min(k.alpha+30,255) else k.alpha = math.max(k.alpha-30,0) end if k.alpha > 0 then --This will AVOID to draw not visible images (CPU USAGE REDUCTION) dxDrawImage(0,0,500,500,k.path,0,0,0,tocolor(255,255,255,k.alpha)) end end end addEventHandler("onClientRender",root,drawImages)
    1 point
  6. Do you want to fade two images with each other? Or fade the current image to nothing and then fade the next image from nothing? Use alpha in tocolor to fade it. (red, green, blue, alpha). dxDrawImage(0, 0, screenSize.x, screenSize.y, backgroundTexture, angle, 0, -120, tocolor(255, 255, 255, 255)) To fade it a bit dxDrawImage(0, 0, screenSize.x, screenSize.y, backgroundTexture, angle, 0, -120, tocolor(255, 255, 255, 100)) Now you need to add or subtact a bit of alpha every render. If you add 1 alpha, the effect will take 255 frames, so about 4 seconds at 60 FPS. Let me know if you need code/explanation.
    1 point
  7. السلام عليكم , اخبارك استاذ ايهاب .. لو سمحت لنا راح نعطيك سيرفر مجاني حتى تشتغل على مشروعك فضلا تحدث معنا على الخاص او عن طريق سيرفر الديسكورد وشكرا لك https://discord.gg/SknxEqx
    1 point
  8. 1. Mosaic Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=18254 Video: 2. Speed Box Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=16184 Video: 3. Up Up Up Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=16176 Video:
    1 point
  9. CLuaArguments args; args.PushString(szEventName); args.PushBoolean(true); args.Call(luaVM, "addEvent"); Like so I called once MTA functions
    1 point
  10. MTA doesn't export the scripting API to modules at the moment. Currently, the only way is to use Lua to call the functions.
    0 points
  11. Hello Guys, i saw a lot Topics about "how to play mta on a mac". Nobody really gave a right answer. Yes i know macs arent made for gaming but a lot still want to play it on the mac. So heres my Tutorial. You will get full FPS as normal on a windows pc. Now we start with the Tutorial: What you gonna need is: Crossover - http://www.codeweavers.com/products/ - 30 Days Trail X11 - already installed on the mac - if it ask to update - do it GTA San Andreas Windows Edition with crack MTA San Andreas - http://www.multitheftauto.com MTA Fonts and dll - CLICK TO DOWNLOAD -> http://www.xup.in/dl,17062410/Archiv.zip/ Step 1: Copy GTA San andreas and the Mta installer on your desktop. Right Click the Mta installer.exe and open with Crossover. A new window will pop up. Go to the last tap and make sure that a windows xp bottle is checked: Click on install. Click next. Click next. MTA Location -> Next. Then it asks for the GTA SA Location. Click Browse: ->Computer -> /Z: -> Users -> YOUR USER NAME -> Desktop -> Then click on the gta folder than on "ok. Click next next next.. On the last dialog unckeck: "Start MTA NOW"! Step 2: Download my fonts and my dll. Open Crossover with the Spotlight: Click on -> configure -> manage bottle: Click on -> extended -> open C: drive in finder: Then -> Windows -> Fonts. Copy in the 3 fonts. Go back to windows -> System32 -> Copy my winmm.dll in there. Now you can close the finder. And the crossover window. Go to the crossover bar -> programs -> MTA San Andreas. Step 3: START HAVING FUN TO PLAY MTA ON A MAC!!! To Close mta press quit on the main menu then the screen will turn black then press Command+Q to go back to your desktop. Here is a video what it looks like: Have fun. Greetings Jannis
    0 points
×
×
  • Create New...