Author Topic: Do ULX Command when you change Job  (Read 1937 times)

0 Members and 1 Guest are viewing this topic.

Offline Alpha Universe

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Do ULX Command when you change Job
« on: September 05, 2016, 10:17:23 AM »
Hello Ulysses Forum.

I have a smal question.

Is there a way to perform automatically ULX commands when I change my Job in DarkRP?
I need that, because I want if my admins change the Job to "Admin on Duty" they should automatically cloaked and goded.

Is there a way to do that?

Thanks for your help!

Alpha Universe

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Do ULX Command when you change Job
« Reply #1 on: September 05, 2016, 01:19:08 PM »
I've moved this to off topic as it is not a ULib/ULX question as much as it is a DarkRP.
That being said, I know there are customchecks in DarkRP, but I don't know if they are 'just' that, a check to make sure you have access to something before a job change is allowed, OR, if they could be used to set off a function once someone changes to a job.
I think customchecks expect a result though, true or false, before allowing someone to change into a job.

I'd recommend searching the DarkRP wiki or forum, instead of the Ulysses one.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Alpha Universe

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Do ULX Command when you change Job
« Reply #2 on: September 06, 2016, 07:26:21 AM »
Ok Thank you. Than I'll try it on the DarkRP Forums.

;)