Ulysses

General => Developers Corner => Topic started by: sciaschi on November 05, 2011, 07:55:30 AM

Title: I need some help *Coder Appriciated*
Post by: sciaschi 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?
Title: Re: I need some help *Coder Appriciated*
Post by: Megiddo on November 06, 2011, 03:49:20 PM
Sorry, we don't really have enough experience with DarkRP to answer your question.
Title: Re: I need some help *Coder Appriciated*
Post by: JamminR 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.
Title: Re: I need some help *Coder Appriciated*
Post by: sciaschi 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
Title: Re: I need some help *Coder Appriciated*
Post by: JamminR 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'.
Title: Re: I need some help *Coder Appriciated*
Post by: sciaschi 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?
Title: Re: I need some help *Coder Appriciated*
Post by: JamminR 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.
Title: Re: I need some help *Coder Appriciated*
Post by: sciaschi on November 08, 2011, 04:34:34 AM
Ah well thanks for your help
Title: Re: I need some help *Coder Appriciated*
Post by: strategos 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.
Title: Re: I need some help *Coder Appriciated*
Post by: Digital Spit 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!