Jump to content

FernandoMTA

Members
  • Posts

    370
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by FernandoMTA

  1. I can't believe it's already been a year! Time flies...
  2. Hello, from my understanding what you can do is: - disable vehicle engine sounds (and the ones you want to replace) using https://wiki.multitheftauto.com/wiki/SetWorldSoundEnabled - https://wiki.multitheftauto.com/wiki/World_sound_groups - play custom sounds using playSound and playSound3D You can't just "replace" game sounds sadly, they need to be first disabled then you may use custom MTA functions to play sounds. You could use these scripts for inspiration, but I don't recommend using the entire resource in your server because this is a bit outdated and could be better optimized. https://github.com/brzys/bengines @TYMECRUISER47
  3. Useful: printing current function name: local function myFunc() print(debug.getinfo(1, "n").name); end myFunc()
  4. @J4cobLIVEmain You should ask on the Sphene Discord as there's several people there who are familiar with the game code.
  5. Try Malwarebytes Anti-Malware (Free trial) @1Molodoy1
  6. Nice guide! You can upload images to your application on the Discord Developers Platform; these are called "assets" and have a name. You can use these asset names in the first argument of setDiscordRichPresenceAsset. For example: -- will display my server's logo asset image -- with the server name text when mouse hovered over the image setDiscordRichPresenceAsset("my_logo", "Server Name")
  7. what about this? @Shady1 https://stackoverflow.com/questions/18313171/lua-rounding-numbers-and-then-truncat
  8. string.format should definitely be more used in MTA scripts. I see people doing string concatenation all over the place. It often creates long and confusing code lines, especially when you involve if conditions. Using string.format would make the code more readable. Good guide!
  9. v3.3.0 released! https://github.com/Fernando-A-Rocha/mta-add-models/releases/tag/v3.3.0 PERMANENT SOLUTION (NON-LAGGY) TO VEHICLE HANDLING FOR ADDED MODELS Thank you @Grafu and @botder for creating and merging mtasa-blue PR #1935 respectively, which now allows clients to set vehicle handling, thus making synced new-model vehicle handling work!
  10. Hi! Thankfully you can add new vehicle models using my resource (and also with your own implementations, although this makes your life much easier): However, there is a bug (or lack of feature) that prevents the new vehicles that take the properties of the base vehicle models you decide from having special properties like attaching to trailers, ZR 350 headlights, water cannons, etc https://github.com/multitheftauto/mtasa-blue/issues/1861
  11. MTA is open source. Anyone can make a "fork" of the codebase. Search mtasa-blue on GitHub and visit the MTA development discord. It's not an easy task though!
  12. I'm sorry but that's not possible. This stuff is hard coded in the game and we need help of MTA contributors to make it possible.
  13. That is a bug, see https://github.com/multitheftauto/mtasa-blue/issues/1861 I don't know if it will be fixed in the future, you can ask in MTA development discord (it's been discussed in the past). It's very disappointing, I know how it feels
  14. After about 5 months of no updates, here's one for you! It includes one essential clientside fix and two small features, for now. https://github.com/Fernando-A-Rocha/mta-add-models/releases/tag/v3.2.0 The custom map editor has also been updated! The previous version was broken (sorry). https://github.com/Fernando-A-Rocha/mtasa-resources/releases/tag/v3.2.0-newmodels-editor I'll try to get back to pushing regular updates
  15. https://forum.multitheftauto.com/topic/134836-rel-nandocrypt-file-encryption-resource/
  16. Hey can you share some lines of code of your map to see what it looks like? Have you tried this? https://convertffs.com/ It has "MTA race map" which may be what you're looking for.
  17. @Sr.blackHey I implemented what you need. It's WIP https://github.com/Fernando-A-Rocha/mta-collectibles
  18. I dont think so, but there is this: https://wiki.multitheftauto.com/wiki/GetNetworkStats
×
×
  • Create New...