Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Você vai precisar dos seguintes: getElementPosition dxDrawLine3D dxDrawText getDistanceBetweenPoints3D addCommandHandler
  3. Solved. It was :Oing bitdefender antivirus. After disabling avdanced threat detection everything became just like it was before. You can close it.
  4. chof hada rah khedam mzian https://community.multitheftauto.com/index.php?p=resources&s=details&id=1557
  5. https://pastebin.mtasa.com/8979490797
  6. PESSOAL SEGUINTE PRECISO DE ALGUMA COISA QUE ME DE OS METROS TIPO UMA TRENA PARA O MTA PARA FAZER MODELAGEM NO SKETCHUP image.png
  7. Yesterday
  8. I start the MTA and it says there were problems with your serial, the menu appears and the game crashes, please fix this, I want to my serial F7734FE5D37B760B2758E7D083C00B10
  9. Last week
  10. I log on to the server (top-gta dayz) and nothing happens, just a black screen https://imgbox.com/dUR6M5jd
  11. Welcome to **SAS Network**, a next-generation MTA:SA community combining the best game modes in one place! Play your way: • **CNR (Cops and Robbers)** – create chaos, chase criminals, earn reputation • **ClanWars** – build your team, dominate the battlefield • **Freeroam** – explore, drift, chill, and show off your rides • **Race** – master custom-made tracks and climb the leaderboards What makes us special: • Smooth, lag-free EU servers • Fully optimized custom systems • Active and friendly international community • Frequent updates, challenges, and seasonal events • Discord integration & ranking system Whether you’re into competition, cruising, or pure fun — **SAS Network** has a place for you. Join now: **Server IP:** Coming Soon **Discord:** https://discord.gg/rrFJ5CPsjz **Website:** Coming Soon
  12. I normal dont post in forums, mostly trying to solve bymyself but for this one i paid 3 different AI to get it solved none of them able to fix it or find a problem cause most of the time each AI says password wrong but its not literaly its 12345678 the problem i am having is Core connection is always fail i did everything i can this is for owl gaming roleplay script package the server log under the post
  13. cső olyan problémám van hogy a szerverem a szerver keresőben nem jelenik meg a szerverem ilyenkor mi a tendő?

  14. It's working even worse. Anyway, thanks for answering. I guess I'll have to find it myself
  15. Hello, when I reviewed your code I came across many issues, and I fixed them through testing. You can check again if you’d like. Let me tell you about the changes I made: The requested "proper zombie system" is now ready: Uses a single timer Controlled animations Smooth flow Performance optimized function findRotation(x1, y1, x2, y2) local t = -math.deg(math.atan2(x2 - x1, y2 - y1)) return t < 0 and t + 360 or t end local zombies = {} function createZombie(x, y, z, firstTarget) local zombie = createPed(0, x, y, z, 0, true) zombies[zombie] = { target = firstTarget, state = "spawning", lastAnimation = nil, spawnTime = getTickCount(), updateDelay = getTickCount() } setPedAnimation(zombie, "ped", "getup_front", 2000, false, true, true, false) setTimer(function() if isElement(zombie) and zombies[zombie] then zombies[zombie].state = "idle" end end, 2000, 1) end function setZombieAnimation(zombie, anim) if not isElement(zombie) or isPedDead(zombie) then return end local data = zombies[zombie] if not data then return end if data.lastAnimation == anim then return end setPedAnimation(zombie) if anim == "idle" then setPedAnimation(zombie, "ped", "WALK_drunk", -1, true, true, true, false) elseif anim == "chase" then setPedAnimation(zombie, "ped", "run_fatold", -1, true, true, true, false) elseif anim == "attack" then setPedAnimation(zombie, "medic", "cpr", -1, true, true, true, false) end data.lastAnimation = anim end function updateZombieState(zombie, data) if not isElement(zombie) or isPedDead(zombie) then zombies[zombie] = nil return end if not isElement(data.target) or isPedDead(data.target) then data.target = findNearestPlayer(zombie) if not data.target then data.state = "idle" return end end local tx, ty, tz = getElementPosition(data.target) local zx, zy, zz = getElementPosition(zombie) local distance = getDistanceBetweenPoints3D(tx, ty, tz, zx, zy, zz) setElementRotation(zombie, 0, 0, findRotation(zx, zy, tx, ty), "default", true) if distance <= 1.5 then if data.state ~= "attack" then data.state = "attack" setZombieAnimation(zombie, "attack") end elseif distance <= 50 then if data.state ~= "chase" then data.state = "chase" setZombieAnimation(zombie, "chase") end local angle = findRotation(zx, zy, tx, ty) local moveX = math.cos(math.rad(angle)) * 0.1 local moveY = math.sin(math.rad(angle)) * 0.1 setElementPosition(zombie, zx + moveX, zy + moveY, zz) else if data.state ~= "idle" then data.state = "idle" setZombieAnimation(zombie, "idle") end end end function findNearestPlayer(zombie) local nearestPlayer = nil local nearestDistance = math.huge local zx, zy, zz = getElementPosition(zombie) for _, player in ipairs(getElementsByType("player")) do if player ~= zombie and isElement(player) and not isPedDead(player) then local px, py, pz = getElementPosition(player) local distance = getDistanceBetweenPoints3D(zx, zy, zz, px, py, pz) if distance < nearestDistance then nearestDistance = distance nearestPlayer = player end end end return nearestPlayer end function updateZombies() for zombie, data in pairs(zombies) do if data.state == "spawning" then if getTickCount() - data.spawnTime > 2000 then data.state = "idle" setZombieAnimation(zombie, "idle") end else if getTickCount() - data.updateDelay > 100 then updateZombieState(zombie, data) data.updateDelay = getTickCount() end end end end local updateTimer = setTimer(updateZombies, 200, 0) addEventHandler("onClientElementDestroy", root, function() if zombies[source] then zombies[source] = nil end end) addCommandHandler("zombie", function() local x, y, z = getElementPosition(localPlayer) createZombie(x, y + 4, z, localPlayer) end)
  16. Hi all! If I'm flying an airplane when I raise the landing gear, the aircraft stops flying, and stall. How can i make it fly in the handling editor after i raised my gear?
  17. Sounds like the country you're in is causing trouble itself. Sorry to hear that.
  18. Hi, I wanted to play MTA with my friends, but after the 1.6 update I started having FPS problems. On 1.5.9 everything was smooth and fine, but now I barely get 40 FPS and so many stutters. The frametime graph looks really bad. https://imgur.com/a/IFl53PG The rerformance issue regardless of which server is used. My laptop: ASUS A15 FA507NV (Ryzen 5 7535HS, RTX 4060 Laptop, 16GB RAM, Windows 11 24H2, Nvidia driver 581.15). The game runs on the discrete GPU.
  19. UPDATE #33 v.1.0.0 (3 October 2025) Several bugs have been fixed once again, adjustments have been made, and unfinished systems have been completed. San Andreas Apocalypse is now at v1.0.0, as everything I had planned has been implemented. However, the project will remain in beta, since it cannot yet be guaranteed that absolutely everything works and nothing has been overlooked. Bugs, improvement suggestions, and general feedback can be submitted in the Bugs and Suggestions section on our Discord.
  20. Version = 1.6-release-23413.0.000 Time = Thu Oct 2 20:38:52 2025 Module = C:\Program Files (x86)\MTA San Andreas 1.6\mta\game_sa.dll Code = 0xC0000005 Offset = 0x00019D9E EAX=00AB4E94 EBX=000000A2 ECX=23D72020 EDX=00000000 ESI=23D72020 EDI=00533560 EBP=0177FCA8 ESP=0177FC64 EIP=59DB9D9E FLG=00210216 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B o seguinte erro, já busquei aqui nos forums pra ver se tem o mesmo erro e sim, fiz oque pediram para as outras pessoas também mas não resolve, instalei a verão que solicitaram e nada, AJEITEM COM URGÊNCIA. começou a ocorrer na ultima att, neste erro estou até mesmo com a versão que peguei em outro atendimento ao tentar entrar em qualquer server ele aparece aquela mensagem inicial, simplismente fecha a tela do jogo, apos instalar versões anteriores nada resolve, favor me auxiliar.
  21. Men the problem is that you dont get that you should never trust the client use the onPlayerDamage in server side In this case and even if he cancel the event client side he still dies server side Only use the onclientDamage if you want to build a ui or some text only for visuals Don't ever make a system relies to the trust of the client side Hope you understand what i mean
  22. После подключения с VPN к одному из серверов МТА, перестало пускать вообще не все сервера. Сначала кикает, а при повторном подключении блокирует. Прикреплю скрины(1. https://disk.yandex.ru/i/y8fJpuiMFYXrEw 2. https://disk.yandex.ru/i/2WCTl6O_GfSXfQ)Это происходит при подключении вообще на любой проект МТА
  23. проблема

     

  1. Load more activity
×
×
  • Create New...