Author Topic: Anyway to restrict a command to only certin darkrp teams ?  (Read 2084 times)

0 Members and 1 Guest are viewing this topic.

Offline [AS] Reede

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Anyway to restrict a command to only certin darkrp teams ?
« 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 ?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Anyway to restrict a command to only certin darkrp teams ?
« Reply #1 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming