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
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.
The text was updated successfully, but these errors were encountered:
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 incanInteract
, 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.The text was updated successfully, but these errors were encountered: