Common questions & problems
SCRIPT ERROR: ?:-1: attempt to index a nil value (field 'lib')
Make sure you add shared_script '@ox_lib/init.lua'
to fxmanifest.lua
if you have Config.UseOxLib
set to true
In-game photos not working
Refer to page Fivemanage setup (for images)
Fining not working / how to get fining to work?
By default fining will not work through the MDT. You will need to edit the FinePlayer
function in tk_mdt/client/main_editable.lua
and place billing/fining export used by your server there. If you need help adding support for a certain billing script, you should contact the creator of that script, not us.
Registering vehicles or weapons to MDT
Refer to server side export page. You will need to utilise the registerWeapon or registerVehicle exports in your other scripts.
New characters only showing up after server restarts
Go to tk_mdt/server/frameworks/esx.lua
or tk_mdt/server/frameworks/qb.lua
and find the event esx_identity:completedRegistration
or qb-multicharacter:server:createCharacter
. Update the event name to match the one used by your server's character creation script. Also, ensure that the data is passed correctly. If you're unsure about the event name, contact the creator of the character creation script for clarification.
Last updated