Ulysses
General => Developers Corner => Topic started by: [NG:A] The Skrub King on October 15, 2015, 09:26:33 AM
-
Hello,
Basically I have the leveling system for my for DarkRP server, and I have 2 questions.
1. How can I get it so that a player get's to a certain level on the leveling system, like Level 10 for example, and once they hit Level 10 they are automatically added to a ULX group called Trusted, even after they go past level 10, so it stays like that?
2. Also how can I get it so that when people reach a certain level for example: Level 6, and once they have reached that level or above, they get access to tools like Stacker, precision, Door S tool, and Advanced Duplicator 2, and they keep the access to the tools even after Level 6?
Thanks Luke
-
Not possible with ULX by default - you'd have to create Lua code to do all this for you.
Moved your topic to developers corner.
-
Okay, thanks, but how do I make the LUA code, I have no clue how to produce that code, could you suggest where I could get help from to make this, or who could make it for me?
-
You do it with hooks. Upon the level up event, if the level is 10, then add the user to the wanted group.