Thread: Adding Ranks Next To Chatbox Name.

Results 1 to 8 of 8
  1. #1 Adding Ranks Next To Chatbox Name. 
    Banned

    Join Date
    Nov 2009
    Posts
    1,800
    Thanks given
    7
    Thanks received
    18
    Rep Power
    0
    I was wondering how this could be implemented.

    Basically in the chatbox to the left of your name, will be a string that is pre defined, and when you type I want that string to appear next to your name in the chatbox.

    Does anyone know how I could achieve this?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2009
    Posts
    1,800
    Thanks given
    7
    Thanks received
    18
    Rep Power
    0
    bumpz
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2010
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Of course somebody knows how.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Purple's Avatar
    Join Date
    Feb 2010
    Age
    26
    Posts
    2,799
    Thanks given
    467
    Thanks received
    260
    Rep Power
    312
    Like Apocalyptism? Maybe Sir Harry will help ya.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Nov 2009
    Posts
    1,800
    Thanks given
    7
    Thanks received
    18
    Rep Power
    0
    Quote Originally Posted by Ghost++ View Post
    Like Apocalyptism? Maybe Sir Harry will help ya.
    Link? :L
    Reply With Quote  
     

  6. #6  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Like this?


    You would have to add that client side. Create an array which contains the players ranks(to be read from the server), and then in the drawChatArea method(which draws the chat panel) loops through the ranks and draws the text for that rank.


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Nov 2009
    Posts
    1,800
    Thanks given
    7
    Thanks received
    18
    Rep Power
    0
    Quote Originally Posted by Stewie View Post
    Like this?


    You would have to add that client side. Create an array which contains the players ranks(to be read from the server), and then in the drawChatArea method(which draws the chat panel) loops through the ranks and draws the text for that rank.
    Thanks alot but...
    What is the drawChatArea method for non renamed?
    And how can you read things from the server through the client? I thought you could only use ints that have been defined in the class your using . Not read an int from the server to the client.
    Reply With Quote  
     

  8. #8  
    Extreme Donator

    Chex's Avatar
    Join Date
    Jul 2010
    Age
    24
    Posts
    207
    Thanks given
    114
    Thanks received
    107
    Rep Power
    231
    Quote Originally Posted by Stewie View Post
    Like this?


    You would have to add that client side. Create an array which contains the players ranks(to be read from the server), and then in the drawChatArea method(which draws the chat panel) loops through the ranks and draws the text for that rank.
    any guide to do this?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •