Supported frameworks:
- Qbox
- QB-Core
- ESX
Inventory:
- ox_inventory
- qb-inventory
Target:
- ox_target
- qb-target
- or set
UseTarget = falsein config
Surname change#
Config:
SurnameChange = {
enable = true,
restoreOnDivorce = true,
},
Qbox / QB-Core#
Add the code from INSTALL/integrations.md into your framework.
If you skip this, marriage still works, but surname may not change.
ESX#
No extra code needed.
Config:
esx = {
table = 'users',
lastnameColumn = 'lastname',
identifierColumn = 'identifier',
},
Change these if your ESX table/columns are different.
Payment not working#
- Correct framework?
- Does the player have money?
- Turn debug on and check logs
Debug = true,
Checklist#
- Framework starts before marriage
- Inventory script is running
- If you use target, target is running
- If surname is on, integrations are done