mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
feat(events/join): add duplicate license check config
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ local function OnPlayerConnecting(name, setKickReason, deferrals)
|
||||
deferrals.done('No Valid Rockstar License Found')
|
||||
elseif isBanned then
|
||||
deferrals.done(Reason)
|
||||
elseif isLicenseAlreadyInUse then
|
||||
elseif isLicenseAlreadyInUse and QBCore.Config.Server.checkDuplicateLicense then
|
||||
deferrals.done('Duplicate Rockstar License Found')
|
||||
else
|
||||
deferrals.done()
|
||||
|
||||
Reference in New Issue
Block a user