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 29, 2025. It is now read-only.
Now with ox_core's groups, I think it would be nice to have an activeGroups (or whatever) property (or any other solution) to check if the player has the group as active or not. Currently, you can do this in canInteract, but repeating the logic everywhere is less nice.
Example, if a player has not set their group police to active, you don't want them to be able to do certain actions. If this is not desired, then we can continue using canInteract, but just a suggestion.