mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Merge branch 'main' of https://github.com/Mitroxs/qb-core
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user