Ulysses

General => Developers Corner => Topic started by: CheesGod on January 20, 2013, 05:40:39 AM

Title: How to make a VIP/Donator class
Post by: CheesGod on January 20, 2013, 05:40:39 AM
So basically i have donators but barley any donator class', I've tried lots of lua coding but they just wont work the only way i can get the to work if i add them to the VIP group, but other member (users) can see they donator class.

So what i want is a lua code that makes any user see the class, but when they click on it comes up with e.g "Sorry you need to be VIP to access this job."

Thanks
Title: Re: How to make a VIP/Donator class
Post by: krooks on January 20, 2013, 09:18:33 AM
Just as an FYI, It's going to be hard for anyone to help you without the code you are trying to get working.
Title: Re: How to make a VIP/Donator class
Post by: nathan736 on January 20, 2013, 10:39:08 AM
ok cheesgod in a nut shell you need to find the place in dark rp that deals with the job handling and add a check to see if the person is VIP and see if there job is ______ if they are not VIP run force them to become something else so they are not that job anymore.
ps: i dont do dark Rp
Title: Re: How to make a VIP/Donator class
Post by: JamminR on January 20, 2013, 01:13:07 PM
There have been other discussions, most in Developers corner area of the forum too I think, where people using DarkRP wanted to use group checks.
Search around. You should be able to find possible code examples of how they did it.