Is it right?

Discussion in 'Rust Development' started by PEPE 2, Oct 5, 2015.

  1. def playername(self, con):
    '''
    Returns the player name with player or Admin default name color
    '''

    if PLUGIN['ENABLE PLAYERS DEFAULT COLORS']:

    if int(con.authLevel) > 0 and not PLUGIN['HIDE ADMINS']:

    return '<#ADFF64>%s<end>' % con.username

    else if int(con.authLevel) > 1 and not PLUGIN['HIDE ADMINS']:

    return '<#6496E1>%s<end>' % con.username

    else: return con.username

    ================================================================
    for only owner can use color chat is it right?
     
  2. Set up a local test server and try it out. If it works its correct, if it isnt then something is wrong.