Jump to content

Forums

  1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.

      54.8k
      posts
    2. User Guides

      These guides are a good place to start learning how to achieve certain things within MTA in an efficient and well mannered way.

      11
      posts
    3. Open Source Contributors

      This space is for contributors to discuss the development of MTA. No user suggestions/support.

      1.3k
      posts
    4. Suggestions

      Suggestions and requests go here. Please note that actual feature requests must be filed on our GitHub.

      7.7k
      posts
    5. Ban appeals

      Use this forum to appeal your GLOBAL MTA:SA bans. Permanent bans only - appeals for timed ones (eg. 24 hours) will be refused.

      Do not use it for appealing server-specific bans as we do not have power over these specific servers.

      4.6k
      posts
  2. General MTA

    1. News

      News and updates on Multi Theft Auto.

      9.8k
      posts
    2. Media

      User-made screens and movies go here.

      4.5k
      posts
    3. Site/Forum/Discord/Mantis/Wiki related

      Share your comments & concerns about our services.

      5.6k
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!

      2.1k
      posts
    5. 330.3k
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      261.2k
      posts
    2. Maps

      Discussions for maps on various gamemodes.

      13.4k
      posts
    3. Resources

      Everything else about resources.

      28.5k
      posts
    4. Other Creations & GTA modding

      This section includes things such as GUI themes, forum userbars, user-created MTA logos, etc. Also contains topics which cover general GTA modding areas that can be used in MTA, such as modelling.

      2.4k
      posts
    5. Competitive gameplay

      Discussions about various MTA-related competitive gameplay events. Also gang (clan) forums.

      26.7k
      posts
    6. Servers

      Looking for a server to play on? Looking for someone to host your server? Looking for a place to discuss with other server owners? Here's where to look.

      15.6k
      posts
  4. Other

    1. General

      Non-MTA discussions. Anything you want.

      38.1k
      posts
    2. Multi Theft Auto 0.5r2

      Discussion regarding Multi Theft Auto 0.5r2 for GTAIII and Vice City.

      672
      posts
    3. Third party GTA mods

      Showcase for single player mods and requests.

      811
      posts
  5. Archive

    1. 144k
      posts
    2. Trash

      These posts have broken forum rules. They are stored here temporarily so offending users can see what they have done wrong.

      2.5k
      posts
  • Posts

    • 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.
    • 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  
    • 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);  
    • 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);  
    • 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
×
×
  • Create New...