Leaderboard
Popular Content
Showing content with the highest reputation on 02/12/17 in all areas
-
2 points
-
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
-
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
-
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
-
1 point
-
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 everything1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
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
-
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
-
1 point
-
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
-
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
-
Use Google to look for other YouTube APIs. or host your own YouTube downloader/converter using youtube-dl and FFmpeg.1 point
-
1 point
-
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
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
@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
-
0 points