Hi. im not the best in scripting. Nearly i can say im not a scripter. Im looking for a way to make my Moderators only access to the /revive command. I know it works via Essentialmode or Es_admin. I tryed it but i failed.
So im looking for a script which just got the /respawn / revive / resurrect command and to allow user to use them, they need to be whitelisted ( like in the scripte rolefx ) . I need to put the Steamid in the config or client.lua and then they are whitelisted.
I saw there are much scripts. But i use ESX and got all the hospital stuff. The only one is the command with whitelist i want.
Of cause i can give them Admin access, but its not in my mind.
I tryed to add the function in the mellotrainer too, but failed
I hope someone want to help me. Thanks!