chore(server/functions): Add Comments for GetDuty functions

This commit is contained in:
Mojito-Fivem
2021-11-07 22:47:39 +00:00
parent 85819bddbf
commit 21d85a63ec
+2
View File
@@ -77,6 +77,7 @@ function QBCore.Functions.GetQBPlayers()
return QBCore.Players
end
--- Gets a list of all on duty players of a specified job and the number
function QBCore.Functions.GetPlayersOnDuty(job)
local players = {}
local count = 0
@@ -92,6 +93,7 @@ function QBCore.Functions.GetPlayersOnDuty(job)
return players, count
end
-- Returns only the amount of players on duty for the specified job
function QBCore.Functions.GetDutyCount(job)
local count = 0