• Need help with darkrp VIP class notification.
    4 replies, posted
So on my Darkrp server I have a code for VIP jobs. It works fine in stopping people from choosing that job, but when someone clicks the job it just says to everyone /(job name). Is there any way for me to fix it so it says something like "You must donate to get this job"? Here is the code for the VIP jobs. [CODE] vipteams = {TEAM_SWATSNIPER , TEAM_JUGG , TEAM_NINJA , TEAM_HIGHTECH , TEAM_SUPERHERO , TEAM_SUPERVILLAIN , TEAM_SHAPER} if table.HasValue( vipteams, t ) and !force and not self:IsAdmin() and not self:IsUserGroup("vip") and not self:IsUserGroup("donator mod") then Notify(self, 1, 4, "You must be a Donator to access this job") return end [/CODE]
Why don't you use customCheck and the IsUserGroup in shared.lua for the jobs you want to be donator only?
How would I make that work with a notification?
[QUOTE=Tomas018;39044383]How would I make that work with a notification?[/QUOTE] Im pretty sure that it does. It says you need to be donator
Oh ok
Sorry, you need to Log In to post a reply to this thread.