After purchasing a business, errors occur when trying to get started. The error disappears after restarting the plugin. The reason is a typo, line 123, data is not defined in this context, to correct it, replace it with:
Config.Companies[num].data = { identifier = xPlayer.identifier, id = num, name = name, level = 0, certificate = false }
After purchasing a business, errors occur when trying to get started. The error disappears after restarting the plugin. The reason is a typo, line 123, data is not defined in this context, to correct it, replace it with: Config.Companies[num].data = { identifier = xPlayer.identifier, id = num, name = name, level = 0, certificate = false }