Ulysses
General => Developers Corner => Topic started 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?
-
Sorry, we don't really have enough experience with DarkRP to answer your question.
-
Some other community member might. There seem to be several that like and use DarkRP with ULX.
-
@jamminR can u tell me what kind if sites do that because I really want to have this done
-
"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'.
-
Well any idea someone from the community may be on here or do I just search around?
-
You can search for 'darkrp', or you can wait until someone reads this post.
Most don't check every day like our team does.
-
Ah well thanks for your help
-
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.
-
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!