v3.1.1
Uses the table forms that msk_core 4.1.0 introduced, so the deprecation warnings in the server console are gone.
Requires msk_core 4.1.0 or newer
The notifications are sent as a table, which an older msk_core takes as the title. The resource checks the version on start and logs an error when msk_core is too old. Update msk_core along with this script.
Added
- The msk_core version is checked on start.
MSK.Check.Dependency('msk_core', '4.1.0', true)logs an error in the server console when msk_core is older, instead of leaving you to wonder why the notifications look wrong.
Changed
-
Config.Notificationpasses a table toMSK.Notification. The form with title, message, type and duration is deprecated since msk_core 4.1.0 and logs a warning once per resource. If you keep your own config, change the twoMSK.Notificationlines the same way. Leaving them works too, the old form is still accepted for now. -
The escort hint uses the table form of
MSK.TextUI.Show.
Changed files
fxmanifest.lua
config/static.lua
client/main.lua
server/versionchecker.lua