In this section, you will find answers to commonly encountered issues. Remember that most errors stem from incorrect configuration, lack of required resources, or insufficient modification.
Bear in mind that troubleshooting requires patience and precision. Try to carefully analyze the errors and systematically review possible solutions.
If the issue persists after verifying the configuration and available resources, please contact the support on the VMS Discord.
No such export Notification in vms_notify
Go to vms_gym/config/config.lua file
Find function Config.Notification
Remove vms_notify exports and add your notify events or exports
Stress is not working on my ESX server.
In that case, the problem is that the stress status is not registered in your esx_status & esx_basicneeds.
My minimap is always large when I join the server.
Try adding a new option to config.lua - Config.MapBigBypass = true
My seat belts are not working properly.
If this is the case, we recommend that you make sure that you don't have another resource for seat belts, they may be implemented inside another script.
By default in ESX, the script responsible for seatbelts, among other things, is esx_cruisecontrol, if you have it on your server, remove it or disable it.
By default in QB-Core, inside the qb-smallresources resource, there is a seatbelts.lua file in the client file, if it is available, remove it.
Hunger and Thirst are not working.
ESX:
If you have a problem displaying the status of food, drink, it means that you don't have esx_status & esx_basicneeds installed or they are not working properly, in that case, go to Prepared Resources and download our esx_status and esx_basicneeds.
QB-Core:
This means that you have not configured Config.Core and Config.CoreExport
My status bars go beyond the limit.
This means that your status system has no limit.
A solution for QB-Core users:
Go to qb-smallresources/server/consumables.lua
Find event consumables:server:addThirst
Replace the event with the following:
RegisterNetEvent('consumables:server:addThirst', function(amount)
local Player = QBCore.Functions.GetPlayer(source)
if not Player then return end
if amount >= 100 then -- Added limit
amount = 100
end
Player.Functions.SetMetaData('thirst', amount)
TriggerClientEvent('hud:client:UpdateNeeds', source, Player.PlayerData.metadata.hunger, amount)
end)
Go to qb-smallresources/server/consumables.lua
Find event consumables:server:addHunger
Replace the event with the following:
RegisterNetEvent('consumables:server:addHunger', function(amount)
local Player = QBCore.Functions.GetPlayer(source)
if not Player then return end
if amount >= 100 then -- Added limit
amount = 100
end
Player.Functions.SetMetaData('hunger', amount)
TriggerClientEvent('hud:client:UpdateNeeds', source, amount, Player.PlayerData.metadata.thirst)
end)