forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
dbed2b121c
commit
c53a40fa97
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ end)
|
||||||
QBCore.Functions.CreateCallback('drteddy:ceckJob', function(source, cb)
|
QBCore.Functions.CreateCallback('drteddy:ceckJob', function(source, cb)
|
||||||
local Players, Amount = QBCore.Functions.GetPlayersOnDuty('ambulance')
|
local Players, Amount = QBCore.Functions.GetPlayersOnDuty('ambulance')
|
||||||
|
|
||||||
|
print(json.encode(Players))
|
||||||
|
print(Amount)
|
||||||
if Amount > 0 then
|
if Amount > 0 then
|
||||||
cb(true)
|
cb(true)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue