Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 01/08/22 in all areas

  1. Hello everyone! Been working through polishing a lot of our systems and getting ready for release, which is very close now. Soon we'll post a release date. Below two screenshots of our now toggleable dynamic light and dark nights. This resource can be heavy for lower end systems and we don't want to leave anyone out.
    2 points
  2. MTA:SA API SOURCE CODE AND DOCS Why I created this API? As MTA doesn't have a proper API to fetch server information, I decided to create it by myself, because its being requested by the community for a long time. What are the endpoints available? GET https://mtasa-api.com/servers GET https://mtasa-api.com/stats GET https://mtasa-api.com/server/?ip=SERVER_IP&asePort=SERVER_ASE_PORT Note: Check the complete docs. Note: This is a unofficial API, which means it's not maintained by the MTA Team. Special Thanks: The MTA Team for maintaining this great game. @TEDERIs for the ase2json repository.
    2 points
  3. During the discussion, it was noticed that your refresh rate seems odd. Check your Windows settings and make sure it is set to 60Hz. @Cowboy
    2 points
  4. Hardcore Action-RPG is an ambitious one-man project, and it's exactly what's its called - an RPG with heavy PvP elements and organic interactions between players for hardcore gamers, who are seeking exciting and stressful experience. If you want just to chill - it's totally not for you. The main goal is to design a deep, but user-friendly and consistent (in terms of simplicity) experience. The mod contains a narrative tutorial intro and UI is consistent to each other, it doesn't feel like 10 different people was trying to make something, it feels more like a standalone game than a mod. There will be a lot of screenshots and gifs - forgive me, but it's the best way to show you what's actually being created here, without writing whole essays. HARPG is set in San Fierro, but in Night City version (not visually, just atmosphere), where "sky high rate of violence, and more people living below the poverty line than anywhere else. Can’t deny it, it’s all true. But everybody still wants to live here". It's kept in 90's like "normal" GTA: SA. I'm a gamer myself and what the most important things I value in games is atmosphere and sound design - from what I've experienced in MTA, my mod is on a whole nother level in terms of building a climate, with carefully chosen high quality ambients/music and sound effects for many things, you won't experience freesound.org-like sounds there, everything is on near-AAA level. Despite the mod revolves around PvP elements - HARPG doesn't rely solely on shooting everyone on sight, in fact, it's quite opposite - you need to make conscious decisions, as murdering in cold blood is pretty well punished (more on that later), often it's better to just intimidate someone, or make them lose their consciousness, which is a seperate mechanic - it's not punished at all and you can still loot an unconscious person. But it's harder to execute than... just execute someone : D But what about combat itself? • Weapons has recoil • The camera is shaking while aiming (it's not drunk level) • Weapons has their condition, they can jam (the jamming rate based on condition) and you can install modifications, such as suppressors, stocks, scopes with or without NV/TV (for sniper rifle) and many others • Both shotguns, sawed-off and country rifle (here: Winchester) has normal reloading animation • Weapons does not appear magically in hands • Custom weapons, such as Taser • Pocker taser • Pepper spray • And grenades - Flashbang, Stun, Incendiary, or Smoke • Decals system - bullet holes and blood on the walls + altered sparks and cinematic smoke effects, to make the combat spectacular and satisfying • Various speed of reloading, also, guns reloads by magazines (like in Mafia 1 or mil-sims), rather than magically adding bullets to magazine, like in most games • Local injuries system - shooting in the leg has better chance to KO someone, but it's dealing less damage, similar with shooting an arm, but with a chance to disarm someone, and, for example, when an enemy is running or jumping, there's a much more chance to KO them • Death animations resembles more of the SP anims (even better, I must say), rather than boring and unsatisfying default MTA dying • Molotov coctail must be ignited before using + when someone is burned, their skin changes to burned one (death by explosion has also seperate skin texture) • Very high quality sound effects with animations sync, which makes combat actually fun • You can hold your breathe while aiming with a sniper rifle • Statuses show various things, like attack/killer/wanted status, medicaments/drugs effects and side effects • and many more interesting mechanics Probably most important gameplay mechanics, as they're responsible for making HARPG an unique and exciting experience. • System detecting who attacked first, if assisting, if killed in cold blood, if killed in self-defense • Anti-logout system, you won't be able to logout for 2 minutes if you aim for someone, or anyone aims at you, techically, you'll be, but your character will still stand there, helpless and ready to die and loot. • After killing someone in cold blood, you won't be able to logout for 15 minutes (you can kill in self-defense as many times as you'll have to defend yourself), after 2 more murders when your kill status is active (it's refreshing after every frag), you'll be marked on map and there will be bounty for your head, and, of course - you can't logout. Every further homicide increases your bounty and refreshes your logout status, so you'll need to survive for some time without killing anyone, even if self-defense. • Psyche system - killing in cold blood isn't easy for your character, if you get a PTSD, you'll experience hallucinations and panic attacks, in general, the game will be harder to play for you for some time. However, as you get more experienced in killing, the PTSD chance is getting lower. (there are many more effects, but I don't want to spoil them : D) • After death, you'll lose everything in your inventory, every penny you've gathered in your wallet, you won't be able to login into your account for 30 minutes and your dead body will by lying on some gutter until 30 minutes pass. But most importantly - you can die only 5 times. It's the end of the line after that, so you better be careful. Like I said before, my goal is to make a simple, yet deep and stressful experience for hardcore players, that's why crafting is also simple, with only 5 materials and easy-to-use UI. With all above combined, there is essential RPG mechanic - a character progression, there are 8 attributes (strength, endurance, agility, perception, proficiency, IT, chemicals, medicine) and many skills (they work more or less similar to single player). Attributes are developed naturally - by playing, for example, strength is raising when you take a damage, endurance when you drain stamina/oxygen, and proficiency when you craft/take apart items. You can also boost progression speed with drugs (which has a nice addiction system) and doing something in a particular weather conditions, for example - proficiency develops faster at night, and endurance develops faster when it's scorching outside. Some of the things that you can earn from leveling up: • Strength lessen a KO chance, increases HP, carry weight or let you use weapons • Endurance increases stamina, damage resistance, lessen the timespan of negative effects from taser or special grenades • Agility increases combat, climbing, running, getting up etc. animation speed, and lessen the chance of being disarmed • Perception increases range of seeing name tags, brighter the nights, or increases a chance to inflict bleeding status with ranged weapons • IT is under design right now, but it will be connected with your cellphone (yeah, not realistic, but it doesn't need to be : D) • Proficiency, chemicals and medicine are used mostly for crafting and materials, but they have some other benefits as well • Skills works roughly the same as in SP, with a few differences - weapon skills for example, impacts reloading speed, camera shake or recoil. Not much to say there. There's an automatic work mechanic (when you're offline), the more endurance attribute, the more you can work offline, but your main goals should be production of drugs, medicaments, weapons, controlling neighborhoods or businesses, cause honest work won't make you much. Or you can just practice "stabbing, strangling, bludgeoning, crushing, hacking, drowning, igniting" ; ) It's still far to go, but maybe after this post I'll know how many people are actually interested in something that experimental like this. I won't drop the production, cause I'm passionate about this project and it's almost 1,5 years of development already, but it's always nice to hear some feedback ; ) Some other screens, that didn't fit anywhere else: • Inventory • Tutorials • Settings • Controls scheme • Drop cash • Character creator • Dark nights There's no Discord for now, there's a Youtube channel though, but it's in Polish right now and mostly depracted stuff, I'll post some videos to you after I take a better care with that channel. Thank you if you read everything!
    1 point
  5. Hi, after spending countless hours on this and then taking a lifetime to finish this, I present to you... My first phone resource for MTA! Purchase Here > https://payhip.com/b/TZVj1 Any questions, requests etc, you can contact me privately on my Discord @ messiahadz#4163 or my Discord server @ https://discord.gg/J9FZFD95JE Much love, TMTMTL.
    1 point
  6. VEHICLE_SETTINGS = false addCommandHandler("steer", function() if VEHICLE_SETTINGS == false then openVehicleSettings() VEHICLE_SETTINGS = true else closeVehicleSettings() VEHICLE_SETTINGS = false end end) bindKey( "x", "down", "steer" ) or VEHICLE_SETTINGS = false bindKey( "x", "down", function() if VEHICLE_SETTINGS == false then openVehicleSettings() VEHICLE_SETTINGS = true else closeVehicleSettings() VEHICLE_SETTINGS = false end end)
    1 point
  7. Summary: Off the end of my hiatus, I returned to MTA after 6 years to pick up LUA once again and make something cool of the game that I(and many others), love the most. I was originally going to develop the gamemode to a playable point and then open source it for others to contribute and play, but after talks with a few people I have decided to keep the project private and host it when completed. So at the moment, this project is a Work In Progress, and I'm working on it on my own. But in such a short space of time, it has came a long way. The script is written the script from scratch, beginning on the 22/12/2022. I wanted the script tailored to be exactly what we need from it, no other garbage. I know these are advertisements for "Servers to Play On", but I'd like to see how much interest I can drum up to see if there's a potential playerbase, thus not wasting my time. The Lore: The background story to the lore of the server scenario is that it's 6 months into the zombie apocalypse. If you've made it this far, you must have some kind of clue so please roleplay as though you do. People are scarce, energy and fuel is scarce, items are scarce. Zombies move around in large herds. You must do what you have to do to survive. The source of the virus is unknown, but you're welcome to conspire your own theories. Roleplay: This is a roleplaying server, however you are only asked to roleplay when it affects another players experience. For instance, when encountering new players, trading with players, firefights, stealing another players vehicles/items etc. If you're playing solo and there's no-one around, play as you wish. If a bear :~s in the woods, and nobody is around... Staff: I'd like to keep staff interaction with roleplay minimal, so you can play without the need to report for an admin, and have them come to complete a task. I believe staff should only require involvement with player to player, or game-breaking bugs. Showcase: I will include a few links to screenshots, videos etc here to stuff I've been working on or made, but I can't promise I'll stay completely up to date with it. Fishing: https://youtu.be/-vuAC-4Iouo Vehicle Dashboard: https://youtu.be/ePV3rRbt7j0 Abseiling & NVG's: https://youtu.be/T-o8_IqDhaY Prone Animation: https://youtu.be/tAr61LadAdg Vehicle Refueling: https://youtu.be/92BPKAVXy2E Character Descriptions: https://youtu.be/XpcJlCVtFao Weapon Raising/Lowering & Sprinting: https://youtu.be/aQQj9thAXZA Vehicle Crashes: https://youtu.be/HzD6e8x_GW4 Realistic Vehicle Handling: https://youtu.be/sqG4hut3J_M Reload & Dry Firing Sounds: https://youtu.be/AC22-DD3_p4 Weapons, Magazines & Ammunition: https://youtu.be/WWitr8Q9QuA Player, Vehicle & Container Inventories, Character Customization & Clothing States: https://youtu.be/TGP4IjYeiEw Base Building W.I.P Demo: https://youtu.be/qunJQDzSIzU Scuba Diving W.I.P Demo: https://youtu.be/38NPWMAjicA Custom Text Signposts: https://www.youtube.com/watch?v=yzJFJ3FvPT0 Weapon Attachments: https://youtu.be/Dmll7y9r_i0 Switching Pistol Animations: https://www.youtube.com/watch?v=KAa1rAHDuwk Website: http://6monthzin.com/ Discord: https://discord.gg/FSUYd3mK
    1 point
  8. 1 point
  9. hola amigo @P4rano1a, publiqué un enlace para setTimer, puede consultar este sitio para comprender su problema. function getPiezasContrabandistas (player) if isTimer(timer) then outputChatBox("Ya lo has usado una vez.", player, 255, 0, 0) return end if not exports.factions:isPlayerInFaction(player, 9) then outputChatBox("No eres Contrabandista.", player, 255, 0, 0) return end if getElementDimension(player) ~= 97 then outputChatBox("No estás en el desarme.", player, 255, 0, 0) return end exports.items:give(player, 34, 20) timer = setTimer(function() killTimer(timer) end, 300000, 1) exports.chat:me(player, "toma una caja con piezas.") outputChatBox("recibiste 20 piezas", player, 0, 255, 0) end addCommandHandler("piezas", getPiezasContrabandistas)
    1 point
  10. merhaba, diag yapıp linkini buraya atar mısın lütfen?
    1 point
  11. merhaba, Toplist sistemi şu şekilde işliyor: https://mtasa.com/toplist adresinden sunucunun IP adresi ve port'unu giriyorsun ve sunucunu sıraya sokuyorsun sıraya girdikten sonra tekrar aynı sayfa üzerinden IP ve Port girerek sunucunun kabaca sıranın neresinde olduğunu görebiliyorsun (önünde 100+ sunucu var veya sıradaki 100. sunucudan birisin şeklinde. toplist sıran geldiğinde email adresine bir mail geliyor, bu mail üzerinden gelen linke tıklayarak ödeme yapabiliyorsun. sıralama sayfasında 100< ibaresini gördükten sonra sunucunun mtaserver.conf içine yazdığın <owner_email_address> adresini her gün mutlaka düzenli olarak kontrol et. ödemeler için ne yazık ki yalnızca PayPal kullanılıyor, eğer Türkiye'de yaşıyorsan PayPal hesabı olan güvenilir birisini bulmak zorundasın çünkü Türkiye'de paypal 2016 yılından beri çalışmıyor. diğer dikkat etmen gereken hususlar: sıraya girdikten sonra IP adresinde veya Port'unda bir değişiklik olursa tekrardan sıraya girmek zorundasın, bunlar değiştirilmiyor. ödeme zamanını kaçırırsan tekrardan sıraya girmek zorundasın. toplist'e girmeden belli bir süre önce, sunucunun ismi kilitleniyor. o yüzden sunucu isminde değişiklik yapamıyorsun. toplist'e girmek istediğin sunucu ismini ayarla ve öyle bırak. toplist'e girdikten sonra IP, Port, ve sunucu ismi değiştirilemiyor. üstte de dediğim gibi, sadece PayPal ile ödeme alınıyor. banka kartı, ininal, kredi kartı vs işlemiyor, paypal hesabın olmak zorunda. paypal hesabı olan birisini bulup dolandırılırsan buna MTA karışamaz, o yüzden güvenilir birisini bulman şart.
    1 point
  12. Hi! I'm having problems playing on RP servers. My laptop should handle MTA just fine, but I only get ~30 (Sometimes dropping to 10-20 while driving) and in interior ~40 FPS. What could be the problem? Laptop specs: I7-10870H on 4.5Ghz turbo GTX 1660 TI 24GB DDR4 ram MTA on NVMe SSD 1 Gbps network (I don't know if it matters, maybe in loading textures) Tried reinstalling the game, reinstalling MTA, installing older DirectX, changing settings, etc..
    1 point
  13. Hi, welcome to the forums! I've moved your thread to the Spanish scripting section so you can get better assistance in your native language. Make sure to always use English when posting outside this section!
    1 point
  14. Holy :~, this looks amazing! Can't wait to see what else you're going to do with this. I do like to ask you, speaking performance, how is everything holding up? Are lower end systems going to have a problem?
    1 point
  15. Glad I could help!
    1 point
  16. Oh yeah, just changed it, let me see if it makes a difference. By the way, the same thing happened today and reinstalling it worked again, haven't played again, I will try to capture images when I go back in game so you can see what happens. And thank you so much to you and everyone who helped! Looks like it worked man. Tho the same update box came on again but it seems that it didn't matter, thank you guys for your help so much @Sarrum. Have a nice day!
    1 point
  17. Hello @Dragon02 and welcome! I'm moving this to the Scripting section as it's more suitable so you can get better assistance.
    1 point
  18. As this appears to be about the same error message, it has been moved back into your existing thread.
    1 point
  19. I will pass this on to our development Discord server and let you know as soon as I have something to share.
    1 point
  20. local myWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true ) -- create a window which has "Information" in the title bar. local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow ) -- create a tab panel which fills the whole window local tabMap = guiCreateTab( "Map Information", tabPanel ) -- create a tab named "Map Information" on 'tabPanel' local tabHelp = guiCreateTab( "Help", tabPanel ) -- create another tab named "Help" on 'tabPanel' -- adds a label (text) to each tab guiCreateLabel(0.02, 0.04, 0.94, 0.2, "This is information about the current map", true, tabMap) guiCreateLabel(0.02, 0.04, 0.94, 0.92, "This is help text.", true, tabHelp) guiSetVisible(myWindow, false) bindKey("f2", "down", function() guiSetVisible (myWindow, not guiGetVisible(myWindow)) showCursor(guiGetVisible(myWindow)) end)
    1 point
  21. Table 'areny' in database is exist?
    1 point
  22. Ele está reclamando que data["img"] e data["imgcicle"] são nulos. Você precisa adicionar um verificador antes para saber se eles existem. if (data["img"]) then if (data["imgcicle"]) then
    1 point
  23. @Cowboy. Try installing this version and see if it improves the situation. Be sure to let me know the results.
    1 point
  24. موجود ولا معتزل المهم الرابط خربان + أحتاج المودات
    1 point
  25. DFF files only contains the geometry - it does not contain textures, or collisions (except for vehicles). You can load only the DFF's without any textures if you'd like, but it probably won't look the way you would expect.
    1 point
  26. Hello @Seza and welcome! I'm moving this to the Scripting section as it's more suitable so you can get better assistance.
    1 point
  27. Moving this into the scripting section.
    1 point
  28. Se você olhar a Wiki do DxDrawText, vai perceber que existe o parâmetro colorCoded. Coloque-o como true e então você pode usar códigos #HEX no seu texto da mesma forma que usaria em um outputchatbox. dxDrawText(ID.." -#00FF00 VOZ ATIVADA #FFFFFF- FPS: 70 -", x*1600, y*752, x*1193, y*775, tocolor(255, 255, 255), 1, "default", "right", "top", false, false, false, true, false) else dxDrawText(ID.." -#FF0000 VOZ DESLIGADA #FFFFFF- FPS: 70 -", x*1600, y*752, x*1193, y*775, tocolor(255, 255, 255), 1, "default", "right", "top", false, false, false, true, false)
    1 point
  29. Please only create 1 appeal per ban. I have moved your duplicate into the existing appeal.
    1 point
  30. Update 1.3.0 coming soon! Update 1.3.0 is set to release on Friday, August 26 2022. The upcoming update is focused on a major code rework that should help us move along with further updates as well as iron out a good amount of bugs. In addition to that since we've rewritten the oldest part of the code which is the account system itself we've also decided to completely overhaul the UI connected to it, here's a little sneak peak of it in action: Please do note that this UI is still WIP and more changes may follow until the release itself. For more information, feel free to look into our update announcement forum post or simply join our Discord. Cheers.
    1 point
  31. addEventHandler("onVehicleExplode", root, function() destroyElement(source) end) server side
    1 point
  32. 1 point
  33. As this is advertising a Turkish server, it has been moved into the Sunucular section.
    1 point
  34. Hi. I've put together a code for you in which the door movement works as expected, there is one up and down movement involved at a certain camera/vehicle angle (see the pictures below). If you don't need that up/down movement either, we can remove it. local cameraElement = getCamera() local oldCursorRelX = 0.5 local oldCursorRelY = 0.5 local moveSensitivity = 2 function moveDoor(cursorRelX, cursorRelY) if not isCursorShowing() then return end local vehicleElement = getPedOccupiedVehicle(localPlayer) if not isElement(vehicleElement) then return end local cameraMatrix = getElementMatrix(cameraElement) local vehicleMatrix = getElementMatrix(vehicleElement) local dotProductX = cameraMatrix[1][1] * vehicleMatrix[1][1] + cameraMatrix[1][2] * vehicleMatrix[1][2] local dotProductY = cameraMatrix[3][1] * vehicleMatrix[1][1] + cameraMatrix[3][2] * vehicleMatrix[1][2] local cursorDeltaX = (cursorRelX - oldCursorRelX) * moveSensitivity local cursorDeltaY = (cursorRelY - oldCursorRelY) * moveSensitivity oldCursorRelX = cursorRelX oldCursorRelY = cursorRelY local dotProductCombined = cursorDeltaX * -dotProductX + cursorDeltaY * dotProductY local openRatio = getVehicleDoorOpenRatio(vehicleElement, 2) + dotProductCombined if openRatio < 0 then openRatio = 0 elseif openRatio > 1 then openRatio = 1 end setVehicleDoorOpenRatio(vehicleElement, 2, openRatio) end bindKey("f1", "down", function () addEventHandler("onClientCursorMove", root, moveDoor) end ) bindKey("f2", "down", function () removeEventHandler("onClientCursorMove", root, moveDoor) end )
    1 point
  35. Hello everyone, we have succefully gone through our first Beta phase. I want to thanks everyone who participated in the beta for their feedback and suggestions! Now we are again in closed development, adding new features and patching up existing systems according to feedback received and to improve Quality of Life. The mapping team is working hard to bring immersion to the game world and there is still a lot to be done. Therefore we are now looking for mappers to strengthen our team. What we ask: - Show a sample of your previous mapping work - Be able to communicate in English - Have some knowledge about mapping in MTA What we offer: - Enjoy donation package benefits once we launch, for free, as part of our staff team - Be at an advantage for an admin position (when we need any), if you're interested - Have people in the game server enjoy your work If you are interested in helping us, please head over to our Discord server and write a DM to @SCANDALOUZ#8169
    1 point
  36. Hola,alguien sabe como se llama la base de datos para subirla a xamp? mi ds Benja#7473
    1 point
  37. Try now. Restart MTA if you get connection issues
    1 point
  38. if you're use mta browsers yes you can try this example JS function onEvent(event) { if (event == "test") { console.log("Test event triggered!") mta.triggerEvent("myLuaEvent", "arg1", "arg2") // trigger lua event else if (event == "test2") { // more stuff } } Lua executeBrowserJavascript(browser, "onEvent('test')") addEvent "myLuaEvent" addEventHandler("myLuaEvent", browser, function(arg1, arg2, ...) print(arg1, arg2, ...) end) Don't forget to set development mode to web setDevelopmentMode(true, true) Then type /debugscript 3 use html forms
    1 point
  39. If it's only about saving player's position, I wouldn't recommend MySQL nor SQLite, you can do with account data, much easier & better
    1 point
  40. onPlayerQuit -> get the position, save it per account and load it when the player logs in. addEventHandler('onPlayerQuit', root, function() local x,y,z = getElementPosition(source) local pos = table.concat({x, y, z}, ',') --insert it end) Then to load it again: local x, y, z = unpack(split(pos, ','))
    1 point
  41. В общем суть проблемы в следующем: Машины в гараже не перекрашиваются,стикеры не клеятся. Пробовал разные модели, нечего не помогает в консоли ошибок не каких нету. Вернее все красится покупается в том числе и стикеры но они не отображаются по неизвестной причине! гитхаб https://github.com/StrixG/driftparadise-legacy/tree/races-and-houses Может кто знает помогите!
    0 points
×
×
  • Create New...