1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Jobs problem

Discussion in 'DarkRP Modding Questions & Help' started by kezhar, Feb 12, 2017.

Tags:
  1. kezhar

    kezhar New Member

    Hello everyone,

    I am looking for something that will make unable to join my job "mayor" if a player is in the "dictator" job.
    If you have any idea I will take it :)

    Thank you , and have a good day.
     
  2. MaccyD

    MaccyD Member

    the custom check should be good enough
    Code (Text):

    customCheck = function(ply) return (!ply:Team() == dictatorjobhere) end
     

    not tested but the theory remains the same
     
    kezhar likes this.
  3. kezhar

    kezhar New Member

    It's more like : When Someone is Dictator , nobody on the server can be mayor :)
     

Share This Page