Ulysses

General => Developers Corner => Topic started by: [AS] Reede on June 17, 2021, 10:18:31 PM

Title: Anyway to restrict a command to only certin darkrp teams ?
Post by: [AS] Reede on June 17, 2021, 10:18:31 PM
like i want to restrict a command /jcomms to only some darkrp teams is there any way ?
Title: Re: Anyway to restrict a command to only certin darkrp teams ?
Post by: JamminR on June 19, 2021, 09:20:49 PM
I've never programmed for DarkRP, but there's probably tens if not hundreds of posts here in our forum regarding 'customcheck' and custom jobs, which, I think, jobs in DarkRP are just Teams.
You'd likely find more about customcheck on the DarkRP wiki.
Search engines also help. FOund this customcheck generator.
https://csite.io/tools/gmod-darkrp-customcheck
No idea of it's accuracy, but seems like a good start for never having programmed a custom check.