/Dv For Group "user"

Could Someone please give me a script or help me, because im really stuck atm with this

1 Like

Do you want to enable /dv for users?

i think yes, because for staff is already

I eventually figured it out, But thanks anaways :slight_smile:

can you send me the link to the resource? Thanks :smiley:

1 Like

commands.lua (11.0 KB)

\es_extended\server\

1 Like

So thanks :smiley:

You shouldn’t make it for users.
If your server is esx based and you’re focusing on roleplay make it based off of jobs. (Police, ems, etc.)

1 Like

We are Menu & ESX. Like Redline Rp for say

“You shouldn’t make it for users.
If your server is esx based and you’re focusing on roleplay make it based off of jobs. (Police, ems, etc.)”
– Th3Cha0s

how exactly would you do that… what needs to be changed for lets say the police job.

RegisterCommand…
local xPlayer = …
If xPlayer.job.name == police then
(What the command does)
else
print(‘insufficient permissions’)
end

and I put that into the esx_policejob
client or server… sorry I am a script tweeker not a writer lol

1 Like

The RegisterCommand native can be used in both server and client side scripts.