You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Hi!, in ox_target/client/framework/qbx.lua > hasPlayerGotGroup(filter) it has this code:
functionutils.hasPlayerGotGroup(filter)
returnQBX:HasGroup(filter)
end
But this will create conflict with multijob scripts because when running the group check it checks if X group is present and NOT if is the current active, resulting in players using let's say Police job but who also have a 2nd job like Burgershot they can access both police and burgershot zones without being on duty. This can be fixed by updating the qbox export:
functionutils.hasPlayerGotGroup(filter)
returnQBX:HasPrimaryGroup(filter)
end
This will validate if the group is the current active group on user and allow them to interact with the zone. 😺
Hi!, in ox_target/client/framework/qbx.lua > hasPlayerGotGroup(filter) it has this code:
But this will create conflict with multijob scripts because when running the group check it checks if X group is present and NOT if is the current active, resulting in players using let's say Police job but who also have a 2nd job like Burgershot they can access both police and burgershot zones without being on duty. This can be fixed by updating the qbox export:
This will validate if the group is the current active group on user and allow them to interact with the zone. 😺