Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/12/17 in all areas

  1. New service to help promote your server For 12 euros, you can buy a top 20 position in the MTA server browser for 20 days. Ideal for getting your amazing gamemode seen by more players. See here for details: https://www.multitheftauto.com/toplist/ All proceeds are used to support development and the upkeep of MTA services; by helping yourself, you're also helping out MTA by donating.
    1 point
  2. Hello. We with friends play on "test" server, and have BSOD error so often times, when we reconnect. It happens ONLY when we reconnect, and we started to notice it only today. I dont know it gamemode error or MTA, but anyway - BSOD error not should be... BSOD write about file "fairplaykd.sys", and we absolutely dont know what can be a reason. I play MTA ~7 years, and never saw that error or something like a it. Offers "Reinstall GTA" or "Reinstall MTA" will be a useless, because it happened not only with me, and not helps. MTA Diag my log, and my friend: https://upload.mtasa.com/u/233246616/MTADiag-Log-2017-12-2_3-21-24.txt_ https://upload.mtasa.com/u/629191723/MTADiag-Log-2017-12-2_11-18-36.txt_ P.S. It not a Polish server, like a in this topic, lol:
    1 point
  3. local sellMarker = createMarker( -1545.0999755859, 126.80000305176, 2.5, "cylinder", 22, 255, 0, 0, 120) local myBlip = createBlip( -1545.0999755859, 126.80000305176, 3.5999999046326, 55, 1.5, 255, 0, 255, player ) function sellVehicle(player) if (getElementType(player) == "player") then if (not getPedOccupiedVehicle(player)) then outputChatBox("You need to be in a Vehicle to sell it.", player, 255, 0, 0) return end local vehicle = getPedOccupiedVehicle(player) local prices = math.random(4000, 10000) givePlayerMoney(player, prices) outputChatBox("You have sold the "..getVehicleName(vehicle).. " for "..prices.."!", player, 0, 255, 0 ) setVehicleLocked ( vehicle, true ) removePlayerFromVehicle ( player ) setTimer(function(veh) respawnVehicle(veh) setVehicleLocked(veh,false) end,5000,1,vehicle) end end end addEventHandler("onMarkerHit",sellMarker, sellVehicle, carRespawn)
    1 point
  4. اديني حبه من الصنف اللي بتشربه هههههه
    1 point
  5. Well, actually I don't know, it's all about the eventhandler, but I added this code on the login panel, then I used the code while login addEventHandler("onClientRender",root, dxTxt) and it worked fine. Thank you for everything
    1 point
  6. @TorNix~|nRCan i know what is the wrong on the code?
    1 point
  7. Yeah, I fixed it, thank you for help guys
    1 point
  8. did you defined the screenW and screenH ???
    1 point
  9. local prices = {["Beagle"] = 300, ["Shamal"] = 30,["Dodo"] = 0, ["Nevada"] = 1000, ["Crop Dustler"] = 2435, ["Stuntplane"] = 3435} iprint(prices["Dodo"]) -- price: 0 (I don't pay for dead stuff)
    1 point
  10. function dxTxt() local Text = Msg[CreatedMsg+1] dxDrawText(tostring ( Text ), (screenW * 0.0113) - 1, (screenH * 0.9367) - 1, (screenW * 0.4850) - 1, (screenH * 1.0000) - 1, tocolor(0, 0, 0, 255), 1.00, font, "left", "center", true, true, false, true, false) dxDrawText(tostring ( Text ), (screenW * 0.0113) + 1, (screenH * 0.9367) - 1, (screenW * 0.4850) + 1, (screenH * 1.0000) - 1, tocolor(0, 0, 0, 255), 1.00, font, "left", "center", true, true, false, true, false) dxDrawText(tostring ( Text ), (screenW * 0.0113) - 1, (screenH * 0.9367) + 1, (screenW * 0.4850) - 1, (screenH * 1.0000) + 1, tocolor(0, 0, 0, 255), 1.00, font, "left", "center", true, true, false, true, false) dxDrawText(tostring ( Text ), (screenW * 0.0113) + 1, (screenH * 0.9367) + 1, (screenW * 0.4850) + 1, (screenH * 1.0000) + 1, tocolor(0, 0, 0, 255), 1.00, font, "left", "center", true, true, false, true, false) dxDrawText(tostring ( Text ), screenW * 0.0113, screenH * 0.9367, screenW * 0.4850, screenH * 1.0000, tocolor(200, 200, 200, 255), 1.00, font, "left", "center", true, true, false, true, false) end addEventHandler("onClientPlayerLogin",getRootElement(), ---------- function ( ) addEventHandler("onClientRender",root, dxTxt) end )
    1 point
  11. Read the infos in the wiki page for dxDrawText.
    1 point
  12. setElementData(player,"Helmet", { {id="notSpecial", amount, armor}, {id="stupid", 999, -10000}, {id="IIYAMA", 1, 1000000000000000000} } ) setElementData(player,"Helmet", { notSpecial = { amount, armor}, stupid = {999, -10000}, IIYAMA = {1, 1000000000000000000} } )
    1 point
  13. function generatePassword () local passwordLength = math.random(4) -- 1 t/m 4 local password = "" for i=1, passwordLength do password = password .. (math.random(10) - 1) -- 0 t/m 9 end return password end local passwordForGate = generatePassword() iprint(passwordForGate) addCommandHandler("hack", function (player, CMD, password) if password == passwordForGate then iprint("correct password") else iprint("wrong password") end end) This is just a sample. Not ready for a dynamic gate system. You should start with writing and preparing your gate script first. Because it has to be one thing. I can't help you any further, if you do not have your body/main/core code ready for integrating the password system.
    1 point
  14. Use Google to look for other YouTube APIs. or host your own YouTube downloader/converter using youtube-dl and FFmpeg.
    1 point
  15. Link it and I'll see what I can do.
    1 point
  16. 1) Enable Small Memory dump by following these instructions: http://mywindowshub.com/how-to-configure-windows-10-to-create-dump-files-on-bsod/ *Important: Change 'Automatic Memory Dump' to 'Small Memory dump' in the final step* 2) Start MTA and cause a BSOD 3) Find latest file in C:\Windows\Minidump\ and upload to https://upload.mtasa.com/ and give link here.
    1 point
  17. 1 point
  18. احذف اي لوكال حاطه انت وان شاء الله بيشتغل
    1 point
  19. يفنان انت خلاص يعيال اوسكار جا اللي بيهجدنا
    1 point
  20. شكرا لك بجربه وإنشاء الله يشتغل
    1 point
  21. لية مشفرة كنت بزرف الاكواد ههه امزح بلتوفيق يبطل
    1 point
  22. 1 point
  23. ما قلت ابد ان السي شارب صعبه لكن قلت ان php اسهل منها +_+ دقق بالكلام
    1 point
  24. @IIYAMA I wanted to ask you this question for a couple of weeks already. You seem like a very intelligent guy. But why are you wasting your time dealing with people like @Professional? The forum and the game itself are full of braindead people, what's the point? (No offence , I truly respect your work)
    0 points
  25. والله ما عاد ادري انت مضيع ولا انا مضيع خخخخخخ يلا يلا عوافي
    0 points
×
×
  • Create New...