Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Sometimes interpolateBetween does some weird rounding. Try manual interpolation money = lastMoney + (newMoney - lastMoney) * progress; Or use what Tekken provided
  3. math.max(YOUR_MONEY, 999999999);
  4. Yesterday
  5. well... i just said my server is super powerful with 21gb of ram, and my pc is made for gaming too (16gb ram) and a great gpu, the crashing is an mta problem, could be a bad resource maybe? it's def not the server i just said. i wanna know how can i fix it. it must be a resource mta don't like
  6. Eu testei e funciona. Ele inicia o fogo para explodir, depois conserta, depois inicia o fogo e fica nesse loop até você descapotar o carro. Mas não explode.
  7. When I did not use the interpolateBetween function, after adding an amount larger than the maximum, e.g. 111111111, the amount appeared 99999999 and with the interpolateBetween function the animation ends at 100000000
  8. The "Blur" resource does not have the dxDrawBluredRectangle function or it is not exported in meta.xml
  9. I don't understand what the problem is. If you exceed the maximum amount, it is normal that the number is higher
  10. Я играл на сервере и мне сказали скачать программу, ее скачивание меня просто напрягло
  11. Merhaba, herhangi bir servere girmeye çalışıyorum mesela askeri bir servere giriyorum MB yüklendiğinde atmayıp da 3-5 dakika sonra atıyor. Bu hatayı verdikten sonra oyunu kapatıp açmadan tekrar servere girmeye çalışınca CD09 hatası veriyor. Bağlantı Kesildi (CD46) (AC #4 78WN) tarafından atıldınız. Bu şekilde sürekli oyundan atıyor 3 defa oyunu sildim kurdum. San Andreas'ıda aynı şekilde 3 defa farklı yerlerden indirip kurdum düzelmedi oyunda herhangi bir hile vesaire hiçbir şey kullanmadım. Niye böyle bir hata verip serverlere giremiyorum, anlamadım. 2 ay kadar önce oynuyordum hiçbir sıkıntı problem yoktu. Sonra 2 ay kadar bıraktım tekrar başlayım dedim. Bu şekilde hata verip duruyor. Kaspersky Free kurdum onunla tarattım bir şey çıkmadı. Hala Kaspersky Free yüklü PC'de, düzelmediği için format da attım sorun hala devam ediyor ban gibi bir durum olabilir mi? Driverlerim de güncel, Ethernet kablosu ile bağlıyım. Yardımcı olursanız çok sevinirim. https://i.hizliresim.com/pgepszv.jpg @Shady1
  12. I was able to fix this error, I kinda had to rewrite it.
  13. You most likely crashed as a result of memory problems. This can happen when you are using a mid-tier PC to play on a server loaded with heavy mods, unoptimized scripts, or just as often a combination of both. DISCLAIMER: some players would argue that their PC is good enough and has plenty of RAM memory, like 6GB or more. So much that they don't expect to run out of memory. So here's the story - GTA SA is an old game from 2005, and you can run MTA with hardware from that era on most decent servers with ease. But servers that are not decent, but "bad" in the sense described earlier, are able to turn this old game into a more demanding one than modern titles. One that even hits limits of this 2005 game, which wasn't designed for what is being done. We mean that any usage on gta_sa.exe above 3.2GB, even if you have much more RAM memory available, will not be stable. SOLUTIONS: Find another server to play on Upgrade your PC's hardware (most important is the amount of RAM memory) and perform some OS mainentance, limit the amount of processes using up memory. If you're on a 32-bit OS, install a 64-bit version. For more information, please read https://forum.mtasa.com/topic/78081-32-bit-windows-crashing/ If being able to play on a certain server is really important to you, and you decide to upgrade, then please note that unless you get a gaming PC, depending on the severity things are "bad" on said server, it might only extend the duration you can play at once without crashing. If things are bad enough, you can crash within an hour from connecting while using the baddest gaming PC available. Example: a lot of russian total conversion servers. If you cannot upgrade your PC or improve your situation by one of the above steps, then unfortunately there's no option other than mind the (type of) servers you're playing on.
  14. Last week
  15. BHello, I come to ask for help, I have tried a thousand ways to avoid the export Blur error line so that it works correctly, all the ways I tried the panel ends up being non-functional and never appears, I tried to look for a "Blur" resource, and it only gave another mistake. The export blur error is: [ERROR]DsClient.lua:25: call: failed to call 'Blur:dxDrawBluredRectangle' [string "?"]. And without the "Blur" resource the error is this: DsClient.lua:25: exports: Call to non-running server resource (Blur) [string "?"]. Everything else works, only that error appears in the debugscript, and from what I investigated, it is to give a blurry background to the panel. local screenW, screenH = guiGetScreenSize() local resW, resH = 1360,768 local x, y = (screenW/resW), (screenH/resH) local DsDaFont = dxCreateFont("fonts/DsFont.otf", 13, true) local PainelRede = false local Alpha2 = 255 function Social() exports["Blur"]:dxDrawBluredRectangle(x*0, y*0, screenW, screenH, tocolor(255, 255, 255, alpha)) local Alpha = interpolateBetween(0,0,0,255,0,0,(getTickCount() - Alpha2)/500, "Linear") dxDrawRoundedRectangle(x*496, y*165, x*367, y*446, tocolor(13, 13, 14, 255), 7) dxDrawRoundedRectangle(x*503, y*175, x*353, y*38, tocolor(32, 31, 33, 255), 7) dxDrawRoundedRectangle(x*503, y*224, x*353, y*85, tocolor(31, 31, 32, 255), 7) dxDrawRoundedRectangle(x*671, y*246, x*170, y*41, tocolor(11, 11, 13, 255), 7) --copiar link dc dxDrawText("Copiar Link", x*702, y*255, x*140, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) --link discord dxDrawRoundedRectangle(x*503, y*320, x*353, y*85, tocolor(31, 31, 32, 255), 7) dxDrawRoundedRectangle(x*671, y*342, x*170, y*41, tocolor(11, 11, 13, 255), 7) --copiar link yt dxDrawText("Copiar Link", x*702, y*351, x*143, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) --link youtube dxDrawRoundedRectangle(x*503, y*416, x*353, y*85, tocolor(31, 31, 32, 255), 7) dxDrawRoundedRectangle(x*671, y*438, x*170, y*41, tocolor(11, 11, 13, 255), 7) --copiar link insta dxDrawText("Copiar Link", x*702, y*447, x*143, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) --link instagram dxDrawRoundedRectangle(x*503, y*512, x*353, y*85, tocolor(31, 31, 32, 255), 7) dxDrawRoundedRectangle(x*671, y*534, x*170, y*41, tocolor(11, 11, 13, 255), 7) --copiar link site dxDrawText("Copiar Link", x*702, y*543, x*143, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) -- link site dxDrawImage(x*506, y*173, x*40, y*40, "files/logo.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("Redes Sociales Del Servidor", x*558, y*183, x*230, y*22, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) dxDrawText("X", x*826, y*182, x*13, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) dxDrawImage(x*525, y*232, x*65, y*65, "files/discord.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*525, y*328, x*70, y*70, "files/yt.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*525, y*426, x*65, y*65, "files/insta.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*527, y*528, x*65, y*65, "files/site.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) if isCursorOnElement(x*671, y*246, x*170, y*41) then dxDrawRoundedRectangle(x*671, y*246, x*170, y*41, tocolor(137,0,250, Alpha), 7) dxDrawText("Copiar Link", x*702, y*255, x*140, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) --link discord elseif isCursorOnElement(x*671, y*342, x*170, y*41) then dxDrawRoundedRectangle(x*671, y*342, x*170, y*41, tocolor(137,0,250, Alpha), 7) --copiar link yt dxDrawText("Copiar Link", x*702, y*351, x*143, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) --link youtube elseif isCursorOnElement(x*671, y*438, x*170, y*41) then dxDrawRoundedRectangle(x*671, y*438, x*170, y*41, tocolor(137,0,250, Alpha), 7) --copiar link insta dxDrawText("Copiar Link", x*702, y*447, x*143, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) --link instagram elseif isCursorOnElement(x*671, y*534, x*170, y*41) then dxDrawRoundedRectangle(x*671, y*534, x*170, y*41, tocolor(137,0,250, Alpha), 7) --copiar link site dxDrawText("Copiar Link", x*702, y*543, x*143, y*24, tocolor(254, 255, 255, 255), x, DsDaFont, "left", "top", false, false, false, true, false) -- link site end end -- IGNORAR bindKey("F5", "down", function() --tecla abrir e fechar painel if PainelRede == false then addEventHandler("onClientRender", getRootElement(), Social) PainelRede = true showCursor(true) else removeEventHandler("onClientRender", getRootElement(), Social) PainelRede = false showCursor(false) end end) function discord (_,state) if PainelRede == true then if state == "down" then if isCursorOnElement (x*671, y*246, x*170, y*41) then --<script src = "assets/shared/config.lua" type = "shared" cache = "false"/> outputMessage("Discord Copiado Com Sucesso!!", "success") setClipboard("https://discord.gg/fbsdBTHGbV") --EDITAR AKI O LINK DO DISCORD DO SERVIDOR removeEventHandler("onClientRender", getRootElement(), Social) PainelRede = false showCursor(false) end end end end addEventHandler ("onClientClick", root, discord ) function Youtube (_,state) if PainelRede == true then if state == "down" then if isCursorOnElement (x*671, y*342, x*170, y*41) then --<script src = "assets/shared/config.lua" type = "shared" cache = "false"/> outputMessage("Link Youtube Copiado Com Sucesso!!", "success") setClipboard("https://www.youtube.com/c/SrDeltaYTofc") --EDITAR AKI O LINK DO YOUTUBE DO SERVIDOR removeEventHandler("onClientRender", getRootElement(), Social) PainelRede = false showCursor(false) end end end end addEventHandler ("onClientClick", root, Youtube ) function Instagram (_,state) if PainelRede == true then if state == "down" then if isCursorOnElement (x*671, y*438, x*170, y*41) then --<script src = "assets/shared/config.lua" type = "shared" cache = "false"/> outputMessage("Link Instagram Copiado Com Sucesso!!", "success") setClipboard("https://youtu.be/9R8uKW42QGQ") --EDITAR AKI O LINK DO INSTAGRAM DO SERVIDOR removeEventHandler("onClientRender", getRootElement(), Social) PainelRede = false showCursor(false) end end end end addEventHandler ("onClientClick", root, Instagram ) function Site (_,state) if PainelRede == true then if state == "down" then if isCursorOnElement (x*671, y*534, x*170, y*41) then --<script src = "assets/shared/config.lua" type = "shared" cache = "false"/> outputMessage("Link Site Copiado Com Sucesso!!", "success") setClipboard("https://deltascripts.store") --EDITAR AKI O LINK DO SITE DO SERVIDOR removeEventHandler("onClientRender", getRootElement(), Social) PainelRede = false showCursor(false) end end end end addEventHandler ("onClientClick", root, Site ) function dxDrawRoundedRectangle(x, y, rx, ry, color, radius) rx = rx - radius * 2 ry = ry - radius * 2 x = x + radius y = y + radius if (rx >= 0) and (ry >= 0) then dxDrawRectangle(x, y, rx, ry, color) dxDrawRectangle(x, y - radius, rx, radius, color) dxDrawRectangle(x, y + ry, rx, radius, color) dxDrawRectangle(x - radius, y, radius, ry, color) dxDrawRectangle(x + rx, y, radius, ry, color) dxDrawCircle(x, y, radius, 180, 270, color, color, 7) dxDrawCircle(x + rx, y, radius, 270, 360, color, color, 7) dxDrawCircle(x + rx, y + ry, radius, 0, 90, color, color, 7) dxDrawCircle(x, y + ry, radius, 90, 180, color, color, 7) end end function isCursorOnElement ( x, y, w, h ) local mx, my = getCursorPosition () local fullx, fully = guiGetScreenSize () cursorx, cursory = mx*fullx, my*fully if cursorx > x and cursorx < x + w and cursory > y and cursory < y + h then return true else return false end end
  16. I managed to solve this error, I'm not sure if I'm doing it correctly. addCommandHandler("globalchat", function(player, _, ...) if (configVar.globalchat) then local string globalAccount = table.concat({...}) if exports.adblock:isAdvertisement(globalAccount) then outputChatBox("#880808[Warning!] #D3D3D3Advertising is not allowed, further doing so can result in getting banned!.", source, 211, 211, 211,true) return; end if isPlayerMuted(player) then outputChatBox(getLanguageTextServer("clientinfotext43",player), player, 136,8,8); return; end if (getElementData(player,"antichat")) then outputChatBox(getLanguageTextServer("clientinfotext41",player), player, 136,8,8); return; else setElementData(player,"antichat",true) setTimer(setElementData, 1000, 1, player, "antichat", false); end for _,v in ipairs(getElementsByType("player")) do outputChatBox("#880808[Global] #D3D3D3"..getPlayerName(player):gsub("#%x%x%x%x%x%x", "").."#D3D3D3: "..table.concat({...}, " "):gsub("#%x%x%x%x%x%x", ""), v, 255, 255, 255, true); end end end);
  17. Hi my apologies for bumping this old threat, however I am having problem using the export. addCommandHandler("globalchat", function(player, _, ...) if (configVar.globalchat) then if exports.adblock:isAdvertisement(message) then outputChatBox("#880808[Warning!] #D3D3D3Advertising is not allowed, further doing so can result in getting banned!.", source, 211, 211, 211,true) return; end if isPlayerMuted(player) then outputChatBox(getLanguageTextServer("clientinfotext43",player), player, 136,8,8); return; end if (getElementData(player,"antichat")) then outputChatBox(getLanguageTextServer("clientinfotext41",player), player, 136,8,8); return; else setElementData(player,"antichat",true) setTimer(setElementData, 1000, 1, player, "antichat", false); end for _,v in ipairs(getElementsByType("player")) do outputChatBox("#880808[Global] #D3D3D3"..getPlayerName(player):gsub("#%x%x%x%x%x%x", "").."#D3D3D3: "..table.concat({...}, " "):gsub("#%x%x%x%x%x%x", ""), v, 255, 255, 255, true); end end end);
  18. i'm the server owner, what resource could do this potentially? there's many mods and vehicles and skins. i guess that's a GTA limit because server's host is super powerful as i said. now this crash: Version = 1.6-release-22388.0.000 Time = Wed Apr 17 20:53:36 2024 Module = Z:\Games\MTA San Andreas 1.6\mods\deathmatch\client.dll Code = 0xE06D7363 Offset = 0x003DFC28 EAX=0177F538 EBX=19930520 ECX=00000003 EDX=00000000 ESI=00018E71EDI=5D6FFC28 EBP=0177F590 ESP=0177F538 EIP=7733FAE2 FLG=00000212CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B
  19. that's a server problem, but idk what resource exactly makes this happen, if it's not the low ram of the server then it's a bad resource
  20. No problem, grad to help you can request to close this thread to admins if nothing else is needed
  21. No problem, nothing happened. Now it adds and subtracts money smoothly, but after exceeding the maximum amount (99999999) the amount is 100000000. I added it to the code (math.min)
  22. Out of video memory. This can happen on servers with unoptimized mods and (faulty) scripts that abuse video memory, or even when you have a powerful graphics card in case the stuff on a server is extremely unoptimized so that it starts hitting GTA limits. If you have a powerful graphics card and more players suffer from this crash type, inform the server owner of this problem as it probably means their scripters & designers don't know what they are doing.
  23. pedro157

    Help

    Hi my name and dawn I've been developing for mta for 1 year and during that time I've never learned how to use absolute resolution creating panel in dx at a certain resolution it looks great in its chosen places only that in lower resolution the panel is below the chosen one I use it in my resources screen = Vector2 (guiGetScreenSize()) screenBase = Vector2 (1920, 1080) wanted to learn how to leave my, panel in its given place
  24. What do you mean by wheel type?
  25. Read this https://wiki.multitheftauto.com/wiki/Script_security and don't buy anything
  1. Load more activity
×
×
  • Create New...