mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 17:01:16 +00:00
Added ConnectQueue Trigger
forgot it in the first commit
This commit is contained in:
@@ -49,6 +49,7 @@ local function OnPlayerConnecting(name, setKickReason, deferrals)
|
||||
deferrals.done("Welcome to {Server Name}!")
|
||||
end
|
||||
--Add any additional defferals you may need!
|
||||
TriggerEvent("connectqueue:playerConnect", src, setKickReason, deferrals)
|
||||
end
|
||||
|
||||
AddEventHandler("playerConnecting", OnPlayerConnecting)
|
||||
|
||||
Reference in New Issue
Block a user