mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 17:23:31 +00:00
Merge pull request #206 from SamShanks1/main
Sets all players routing bucket to 0
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
RegisterServerEvent("QBCore:PlayerJoined")
|
RegisterServerEvent("QBCore:PlayerJoined")
|
||||||
AddEventHandler('QBCore:PlayerJoined', function()
|
AddEventHandler('QBCore:PlayerJoined', function()
|
||||||
local src = source
|
local src = source
|
||||||
|
SetPlayerRoutingBucket(src, 0)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
AddEventHandler('playerDropped', function(reason)
|
AddEventHandler('playerDropped', function(reason)
|
||||||
|
|||||||
Reference in New Issue
Block a user