[HELP] Create groups

Hi fivem,
I make a weapon and vehicule shop for the cop, but now I would like to create group for cop and they alone can use the weapon/vehicule shop. Someone knows how to do it?

1 Like

it’s good question … :tired_face:

1 Like

The easiest way is to just make a client script and have a variable called

local police = false

Then when they type /job police then set

police = true

If police then
Allow shop
end

This is not an experienced way to do I as other client won’t be able to see if police is equal to true on other players. But if it’s a shop it could work.