Thread: Add Interface Characters

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Add Interface Characters 
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Hi, I was wondering how I could add characters to interfaces so they show up in game.

    I need to use the '+' sign in an interface but when I check the server it shows as a whole different word. How do I make it so the '+' sign will show up?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    Pics?
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    All it is is instead of the + sign showing it shows a word.
    Reply With Quote  
     

  4. #4  
    Registered Member Zenocko's Avatar
    Join Date
    Sep 2007
    Posts
    92
    Thanks given
    19
    Thanks received
    24
    Rep Power
    21
    Pasting the code here would help. And are you making a string showing a "+"?
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Quote Originally Posted by Zenocko View Post
    Pasting the code here would help. And are you making a string showing a "+"?
    The line including the + is here:

    Code:
    AddInterfaceLabel(2025, "+", wid, 2, 0xFFA500);
    Reply With Quote  
     

  6. #6  
    Registered Member Zenocko's Avatar
    Join Date
    Sep 2007
    Posts
    92
    Thanks given
    19
    Thanks received
    24
    Rep Power
    21
    Paste AddInterfaceLabel method here
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Quote Originally Posted by Zenocko View Post
    Paste AddInterfaceLabel method here
    Code:
     public static void AddInterfaceLabel(int id, String text, Class30_Sub2_Sub1_Sub4 wid[], int font, int color)
     {
        Class9 Tab = AddTab(id);
        Tab.anInt250 = id;
        Tab.anInt236 = id;
        Tab.anInt262 = 4;
        Tab.anInt217 = 0;
        Tab.anInt220 = 174;
        Tab.anInt267 = 11;
        Tab.anInt214 = 0;
        Tab.aByte254 = 0;
        Tab.anInt230 = -1;
        Tab.aBoolean223 = false;
        Tab.aBoolean268 = true;
        Tab.aClass30_Sub2_Sub1_Sub4_243 = wid[font];
        Tab.aString248 = text;
        Tab.aString228 = "";
        Tab.anInt232 = color;
        Tab.anInt219 = 0;
        Tab.anInt216 = 0;
        Tab.anInt239 = 0;    
    }
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Quote Originally Posted by Mister Maggot View Post
    *addInterfaceLabel
    Code:
     public static void AddInterfaceLabel(int id, String text, Class30_Sub2_Sub1_Sub4 wid[], int font, int color)
     {
        Class9 Tab = AddTab(id);
        Tab.anInt250 = id;
        Tab.anInt236 = id;
        Tab.anInt262 = 4;
        Tab.anInt217 = 0;
        Tab.anInt220 = 174;
        Tab.anInt267 = 11;
        Tab.anInt214 = 0;
        Tab.aByte254 = 0;
        Tab.anInt230 = -1;
        Tab.aBoolean223 = false;
        Tab.aBoolean268 = true;
        Tab.aClass30_Sub2_Sub1_Sub4_243 = wid[font];
        Tab.aString248 = text;
        Tab.aString228 = "";
        Tab.anInt232 = color;
        Tab.anInt219 = 0;
        Tab.anInt216 = 0;
        Tab.anInt239 = 0;    
    }
    What would you like?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    I was pointing out that it should start with a lowercase letter.
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Oh lol. I shall try that.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •