Update server/functions.lua

Co-authored-by: Taso <taso@projecterror.dev>
This commit is contained in:
Mitroxs
2021-12-03 18:18:14 +01:00
committed by GitHub
co-authored by Taso
parent b9712a0fe5
commit 0c55486312
+1 -5
View File
@@ -169,11 +169,7 @@ end
--- Will return true / false wheter the mentioned player id is present in the bucket provided
function QBCore.Functions.IsPlayerInBucket(player_source --[[int]] ,bucket --[[int]])
local curr_player_bucket = GetPlayerRoutingBucket(player_source)
if curr_player_bucket == bucket then
return true
else
return false
end
return curr_player_bucket == bucket
end
-- Paychecks (standalone - don't touch)