Version
Accessing the Module
local VEHICLES <const> = exports.boii_utils:get("modules.vehicles")Server
check_version(opts)
Parameters
Name
Type
Description
Example
local options = {
resource_name = 'my_resource',
url_path = 'myuser/myrepo/refs/heads/main/versions.json',
callback = function(success, current, latest, notes)
if success then
print('Up to date!')
else
print('Outdated:', notes)
end
end
}
VERSION.check(options)Last updated