Skip to content

Releases: Fernando-A-Rocha/mta-add-models

v2.0.1

12 Jan 23:08
6756a7d
Compare
Choose a tag to compare

Changes

  • fixed version string, was 2.0 instead of 2.0.0 (missing last 0) => causing error in updater_s.lua, now it's 2.0.1 anyway
  • added STARTUP_VERIFICATIONS setting that allows u to skip the startup mod list checks
  • added OTHER_RESOURCES setting list that allows you start/stop resources within newmodels (very useful), it has sampobj_reloaded in the list as an example
  • added coroutines in some loops in server.lua to prevent "infinite running script" error in case of too many iterations

Full Changelog: v2.0.0...v2.0.1

v2.0.0

11 Jan 15:45
0652c25
Compare
Choose a tag to compare

⚠️ THIS IS NO LONGER THE LATEST STABLE RELEASE, CHECK HERE ⚠️

Changes

  • fixed an outputDebugString in removeExternalMod(id)
  • newmodels example resource versions in meta.xml now match newmodels version they are compatible with
  • added addExternalMods_CustomFileNames exported function
    • used by sampobj_reloaded to send list instead of calling exports a million times for each mod
  • fixed unefficient isDefaultID function
  • fixed server startup checks not allowing new "paths" format in mod_list.lua
  • removed pAttach resource dependency which is no longer used by any example resource
  • added support for 'download="false"' file attribute in meta.xml
    • newmodels will only download the mod files when needed (on try set element data) !!!
  • added forceDownloadMod and isBusyDownloading exported functions
  • added Downloading dxDraw dialog that can be disabled in _config.lua
  • added kick after X download failures in, customizable _config.lua

Full Changelog: v1.8.0...v2.0.0

v1.8.0

15 Apr 19:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v1.8.0

v1.7.0

10 Mar 19:32
2b868df
Compare
Choose a tag to compare

Backwards compatible (almost) release!

Changes:

  • Altered the way you're meant to use spawnPlayer: corrected the example in README which was wrong
  • Added a fix for skin not loading after you re-spawn the player: it now refreshes (#12)
  • Vehicle upgrades are now saved in the server for syncing to all clients. Previously vehicles would lose upgrades every time the model was changed clientside. (#13)
  • Added ignoreTXD, ignoreDFF and ignoreCOL variables to use in mod_list and exported functions for loading models which don't need DFF/TXD(/COL for objects) (suggested by Gaimo#0152)

For any support with the newmodels library you can contact me. Details in the README.md

Enjoy! 🔥

Send me pics of newmodels in action in your servers <3

v1.6.9

24 Jan 22:46
Compare
Choose a tag to compare

Stable release:

  • Important fixes and improvements
  • Minimum client & server version updated to keep up with MTA's latest fixes

Check this update's commits if you don't want to re-download everything and make the changes yourself.

Enjoy! 🎉

v1.6.7

25 Nov 18:23
Compare
Choose a tag to compare

Stable release:

  • Added event 'onMapListReceived' for other resources to handle

Check this update's commits if you don't want to re-download everything and make the changes yourself.

Enjoy! 🎉

v1.6.6

22 Nov 19:01
Compare
Choose a tag to compare

v1.6.5

21 Nov 21:11
Compare
Choose a tag to compare

Stable release:

  • Added anti-spam for adding/removing mods via external resource
  • Moved all testing functions/cmds to testing_ client/server files
  • Added GUI to view /listmods and /selements
  • Added exported function forceAllocate

Enjoy! 🎉 🥳

v1.6.0

21 Nov 02:04
Compare
Choose a tag to compare

Stable release:

  • Fixed an issue with custom IDs not applying properly
  • Re-enabled cmd /myskin which was commented out

Enjoy! 🎉

v1.5.1

20 Nov 22:39
Compare
Choose a tag to compare

Stable release:

Improvements:

  • setElementModel used in any resource will now auto-refresh if you are trying to set the same model ID the element has
  • Added exported getModList
  • Added /testvehicles in newmodels-example

Enjoy! 🎉 😄