Could Someone please give me a script or help me, because im really stuck atm with this
Do you want to enable /dv for users?
i think yes, because for staff is already
I eventually figured it out, But thanks anaways 
can you send me the link to the resource? Thanks 
commands.lua (11.0 KB)
\es_extended\server\
So thanks 
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.)
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
The RegisterCommand native can be used in both server and client side scripts.