ULX

Author Topic: I need some help *Coder Appriciated*  (Read 3359 times)

0 Members and 1 Guest are viewing this topic.

Offline sciaschi

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
I need some help *Coder Appriciated*
« on: November 05, 2011, 07:55:30 AM »
i want to make a class on darkrp that only allows admin to become it and use certain commands like if i became it i would be able to use noclip, slap, slay, kick, ban things like that. Can anyone help?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: I need some help *Coder Appriciated*
« Reply #1 on: November 06, 2011, 03:49:20 PM »
Sorry, we don't really have enough experience with DarkRP to answer your question.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: I need some help *Coder Appriciated*
« Reply #2 on: November 06, 2011, 08:22:02 PM »
Some other community member might. There seem to be several that like and use DarkRP with ULX.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline sciaschi

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: I need some help *Coder Appriciated*
« Reply #3 on: November 07, 2011, 04:19:01 AM »
@jamminR can u tell me what kind if sites do that because I really want to have this done

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: I need some help *Coder Appriciated*
« Reply #4 on: November 07, 2011, 03:11:47 PM »
"Community", as in these forums.
I know of no other community. Hopefully, someone will know what you're talking about. We(Stick, Megiddo, and I among other team members) don't use DarkRP to know how it works with 'classes'.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline sciaschi

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: I need some help *Coder Appriciated*
« Reply #5 on: November 07, 2011, 06:38:06 PM »
Well any idea someone from the community may be on here or do I just search around?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: I need some help *Coder Appriciated*
« Reply #6 on: November 07, 2011, 07:55:58 PM »
You can search for 'darkrp', or you can wait until someone reads this post.
Most don't check every day like our team does.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline sciaschi

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: I need some help *Coder Appriciated*
« Reply #7 on: November 08, 2011, 04:34:34 AM »
Ah well thanks for your help

Offline strategos

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 2
  • I wanna be the guy
    • Community
Re: I need some help *Coder Appriciated*
« Reply #8 on: January 05, 2012, 11:54:33 AM »
Ah well thanks for your help

Bumping old thread.

The syntax of how is listed in the shared.lua in case you are still wondering.

Offline Digital Spit

  • Jr. Member
  • **
  • Posts: 79
  • Karma: 1
Re: I need some help *Coder Appriciated*
« Reply #9 on: March 11, 2012, 04:39:16 PM »
You would have to use a few hooks, I know in my server I use a hook that as soon as you become admin on duty you automatically cannot be hurt by other players. If you like I can share that code with you. It will help you get on the general path!