Jump to content

All Activity

This stream auto-updates

  1. Yesterday
  2. local spawnLocation = { ["Los Santos"] = { {2032.30676 , -1404.76147 ,17.25112}, {1173.74976 ,-1321.97998, 15.19531} }, ["Las Venturas"] = { { 1584.93396, 1747.93079, 10.82800} }, ["San Fierro"] = { {-2660.65576, 636.20300,14.45313} } } function spawn () local location = getElementZoneName ( source, true ) print (location) local resultado = nil local position = nil for name,data in pairs(spawnLocation[location])do local x,y,z = getElementPosition(source) local posx,posy,posz = data[1] , data[2] , data[ 3] local distancia = getDistanceBetweenPoints3D(x , y ,z, posx,posy,posz) if not resultado then resultado = distancia position = { posx , posy,posz} else if distancia < resultado then resultado = distancia position = { posx , posy,posz} end end end if resultado then setTimer(spawnPlayer,5000,1,source ,unpack(position)) setTimer ( function(source) takePlayerMoney(source, 50) outputChatBox ( "#00FFFF[HOSPITAL]Para curar seus ferimentos o hospital cobrou 50$ de Você",source, 255, 255, 255, true ) end, 5000, 1, source ) end end addEventHandler("onPlayerWasted", getRootElement(), spawn)
  3. NOVO SERVIDOR ROLEPLAY MTA ABERTO! Chegou o **Saphira Roleplay**! Um servidor NOVO, organizado e feito pra quem busca uma experiência REAL de RP no MTA! O que temos pra você: Servidor ESTÁVEL e OTIMIZADO Sistemas exclusivos Economia balanceada Equipe ativa e atenciosa OPORTUNIDADE de crescer no servidor Eventos com prêmios reais e dinheiro in-game! Vagas abertas para staff e facções! Entra agora no nosso Discord e garanta seu lugar: https://discord.gg/HA65UgNeV6 Vem fazer parte dessa nova jornada no Saphira RP e escreva sua própria história! #SaphiraRP #MTA #RoleplayBrasil #VemProSaphira
  4. böyle bir mesaj geldi neden geldi bilmiyorum
  5. Last week
  6. Welcome to Legacy Roleplay! A project created by representatives of successful servers We’ve come together to bring you something never seen before: Unique Systems High-Level Programming Cities Inspired by LATAM, International Companies, and Real Neighborhoods Available for All of LATAM We’re still building this city for you, but very soon, you’ll be able to be part of it. Support us and become part of the legacy! https://discord.gg/legacyrpmta
  7. ¡Bienvenido a Legacy Roleplay! Un proyecto creado por los representantes de servidores exitosos Nos unimos para traerte algo nunca visto: Sistemas únicos Programación de alto nivel Ciudades inspiradas en latam y empresas internacionales y barrios reales Disponible para todo LATAM Aún estamos construyendo esta ciudad para ti, pero muy pronto podrás formar parte de ella. ¡Apóyanos y sé parte del legado! —————————————————————- Welcome to Legacy Roleplay! A project created by representatives of successful servers We’ve come together to bring you something never seen before: Unique Systems High-Level Programming Cities Inspired by LATAM, International Companies, and Real Neighborhoods Available for All of LATAM We’re still building this city for you, but very soon, you’ll be able to be part of it. Support us and become part of the legacy! https://discord.gg/legacyrpmta
  8. Thanks for reminding me, by the way, I opened a repository where you can help me improve it even more.
  9. Seems like you forgot to link the community.mtasa.com download link here it is https://community.multitheftauto.com/index.php?p=resources&s=details&id=19012
  10. Merge in diverse circumstante acum sa nu te gandesti ca nu se poate trece peste el deoarece nu am acces la toate directoarele din pc-ul clientului sa aiba un efect mai amplu. A fost testat iniante de a fi incarcat ca resursa pe comunitate.
  11. I play on a polish rp server called 4life. My game keeps crashing after 5 min of gameplay. Here is my mtadiag https://pastebin.mtasa.com/1655075397 Version = 1.6-release-23281.0.000 Time = Wed Jul 16 16:10:21 2025 Module = C:\ProgramData\MTA San Andreas All\1.6\GTA San Andreas\mtasa.dll Code = 0xE06D7363 Offset = 0x09F80520 EAX=0177F048 EBX=19930520 ECX=00000003 EDX=00000000 ESI=000251C1 EDI=6BB6E3C8 EBP=0177F0A4 ESP=0177F048 EIP=75850144 FLG=00200216 CS=0023 DS=002B SS=002B ES=002B FS=FFFF0053 GS=002B that is my recent crash info
  12. что такое резидентным? я два разных платных ВПНА ставил(((
  13. it gives cc22 eror when i try to join https://pastebin.multitheftauto.com/2753317048 it solved now
  14. I keep getting this error tag on a custom MTA server which runs on its own client. Version = v1.1.7 Time = 2025.07.14. 16:18:31 Module = C:\ProgramData\DawnMTA All\1.6\GTA San Andreas\gta_sa.exe Code = 0xC0000005 Offset = 0x00354B1C EAX = AACFAC0B EBX = 00000000 ECX = 0177FBFF EDX = FF000000 ESI = 00000000 EDI = 0000005A EBP=00000004 ESP = 0177FB14 EIP = 00754B1C FLG = 00210286 CS = 0023 DS = 002B SS = 002B ES = 002B FS = 0053 GS = 002B
  15. Kitiltásokkal kapcsolatos fellebbezés és csalók bejelentése már nem lehetséges. További információért látogass el a következő oldalra: https://forum.multitheftauto.com/topic/139550-cheater-reports-ban-appeals-in-2023/
  16. Írtam egy egyedi gui scriptet, aminél valamiért ha 2 editboxot kreálok akkor az elsőt nem lehet aktiválni, editelni. Aki tud segíthetne, köszi, puszi sx, sy = guiGetScreenSize() createdBoxes = {} hoveredBox = false activeBox = false padding = 5 textCursor = { alpha = 0, targetAlpha = 255, tick = getTickCount(), } addEventHandler('onClientRender', getRootElement(), function() for name, box in pairs(createdBoxes) do local x, y, w, h = box.x, box.y, box.w, box.h if isInSlot(x, y, w, h) then print('@' .. name) hoveredBox = name else hoveredBox = false end dxDrawRectangle(x, y, w, h, hoveredBox == name and tocolor(30, 30, 30, 180) or tocolor(20, 20, 20, 180)) currentText = guiGetText(box.gui) if box.isPw then currentText = string.rep('*', string.len(currentText)) end textWidth = dxGetTextWidth(currentText, 1, box.font) verticalAlign = 'left' if textWidth >= w + padding then verticalAlign = 'right' end dxDrawText(currentText, x + padding, y, x + w - padding * 2, y + h, tocolor(255, 255, 255, 255), 1, box.font, verticalAlign, 'center') cursorColor = {255, 255, 255, textCursor.alpha} if activeBox == name then guiEditSetCaretIndex(box.gui, string.len(currentText)) guiSetInputMode('no_binds_when_editing') dxDrawText('|', math.min(x + padding + textWidth, x + w - padding * 2), y, x + w, y + h, tocolor(unpack(cursorColor)), 1, box.font, 'left', 'center') end local alpha = interpolateBetween(textCursor.alpha, 0, 0, textCursor.targetAlpha, 0, 0, (getTickCount() - textCursor.tick) / 500, 'InQuad') textCursor.alpha = alpha if alpha == textCursor.targetAlpha then textCursor.targetAlpha = alpha == 0 and 255 or 0 textCursor.tick = getTickCount() end end end) addEventHandler('onClientClick', getRootElement(), function(button, state) if button == 'left' and state == 'down' then if hoveredBox then guiBringToFront(createdBoxes[hoveredBox].gui) activeBox = hoveredBox else activeBox = false end end end) function cGuiCreateEdit(name, x, y, w, h, isPw, holder, font) if createdBoxes[name] then return nil end g = guiCreateEdit(-1000, -1000, 0, 0, holder, false, false) createdBoxes[name] = { x = x, y = y, w = w, h = h, isPw = isPw, font = initFont(font, h * 0.4), gui = g, } return createdBoxes[name] end function cGuiDestroyEdit(name) if createdBoxes[name] then if isElement(createdBoxes[name].gui) then destroyElement(createdBoxes[name].gui) end createdBoxes[name] = nil end end function isInSlot(x, y, w, h) if not isCursorShowing() then return false else local mx, my = getCursorPosition() mx, my = mx*sx, my*sy if mx >= x and mx <= x + w and my >= y and my <= y + h then return true else return false end end end fonts = {} function initFont(font, size) tablekey = font..size if fonts[tablekey] then return fonts[tablekey] else f = dxCreateFont('fonts/'..font..'.ttf', size) fonts[tablekey] = f return f end end local username = cGuiCreateEdit('username', sx*0.5, sy*0.5, sx*0.2, 30, false, 'Felhasználónév', 'SpaceMono-Regular') local pw = cGuiCreateEdit('password', sx*0.5, sy*0.6, sx*0.2, 30, true, 'Jelszó', 'SpaceMono-Regular')
  17. IIYAMA

    Fuel system

    Might be because the (player/server) network can't catchup. -- (un)subscribe to the vehicle fuel element data of a specific vehicle addEventHandler("onVehicleEnter", getRootElement(), function(thePlayer, seat) if seat~=0 then return end -- Wiki Note: Before using addElementDataSubscriber you need to setup an initial value of element data in "subscribe" mode, otherwise the subscriber will not be added. if not getElementData(source, "plane:fuel") and getVehicleType(source) == "Plane" then setElementData(source, "plane:fuel", 0.18, "subscribe", "deny") end addElementDataSubscriber(source, "plane:fuel", thePlayer) end) addEventHandler("onVehicleExit", getRootElement(), function(thePlayer, seat) if seat~=0 then return end removeElementDataSubscriber(source, "plane:fuel", thePlayer) end) setTimer(function() -- Start with all players instead of all vehicles, because there are often more vehicles than players local players = getElementsByType("player") for i=1, #players do local player = players[i] local vehicle = getPedOccupiedVehicle(player) if vehicle and getVehicleType(vehicle) == "Plane" and getVehicleEngineState(vehicle) then local fuel = getElementData(vehicle, "plane:fuel") or 0.18 if fuel > 0 then -- do not update if fuel is 0 or lower, else you are wasting bandwidth by setting the data to the same value fuel = fuel - fuelUsePerSecond if fuel < 0 then fuel = 0 end setElementData(vehicle, "plane:fuel", fuel, "subscribe", "deny") end end end end, 1000, 0) Please let me know if the addElementDataSubscriber function works as expected, haven't used it myself yet.
  18. Estou sendo banido por erro CD33 no Distrito Roleplay por 10 dias, como resolver?
  19. if isInSlot(x, y, itemWidth, itemHeight) then selectedRadio = radios[index].name selectedRadioURL = radios[index].url if isElement(radioP) then destroyElement(radioP) end radioP = playSound(radios[index].url) setSoundVolume(radioP, hangero/50) pausebutton = true end
  20. If someone stumbled upon this topic with sufficient skills in C++ and is competent in what tweaks need to be made to build Pawn VM in 64-bit (without changing PAWN_CELL_SIZE, so that all current SA-MP scripts work without changes; 64-bit only for the binary itself), then you could help the project by suggesting changes for the MTA module. So far, this module which brings Pawn support is available only as a 32-bit dll library, and therefore the entire MTA AMX project can only be launched on 32-bit MTA server which couldn't be called modern nowadays, especially when 64-bit server has long been a standard here. Although this is not much critical task for SA-MP community (since in general it makes not much difference which MTA server to download for a SA-MP scripter who would just want to test his Pawn scripts on a different multiplayer platform), several people among MTA scripters who would like to try testing SA-MP scripts were very surprised that the project doesn't yet support 64-bit MTA server. And since I'm not competent enough in this matter, any help is welcome.
  21. Hi i'd like to share a resource i developed it's lightweight and efficient tool designed to make mapping in MTA significantly faster and easier. It allows you to copy all object or vehicle data, including position and rotation with a single click. The information is also displayed in a DX panel Features: Supports both objects and vehicles Displays: model ID, X/Y/Z position, and RX/RY/RZ rotation Clean animated UI (fade/slide) Simple toggle: Shift and + One click = full data copied Download Feel free to ask via PM or discord liwa2003 I'm also open to script requests and feedback you can use Github Pull request or issue Ill keep updating the tool in case you find some bugs.
  22. Earlier
  23. Esse código é de erro do GTA:SA e não do MTA. Reinstale seu GTA na pasta padrão C:\Program Files (x86)\Rockstar Games
  1. Load more activity
×
×
  • Create New...