Thread: Donator/Staff Icons

Results 1 to 5 of 5
  1. #1 Donator/Staff Icons 
    Registered Member
    Join Date
    Dec 2011
    Posts
    77
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    So I was adding in donator icons, and in order to do so I also set the staff icons to a higher player right. So I got them all working for public chat fine, and private messaging in the chatbox. But when you use splitchat for private messaging the crowns are all different. I can't find where to change it. I tried what I know. This is what I current have for icons with private messaging:

    Code:
    if ((chatType == 3 || chatType == 7)
    							&& (splitPrivateChat == 0 || chatTypeView == 2)
    							&& (chatType == 7 || privateChatMode == 0 || privateChatMode == 1
    									&& isFriendOrSelf(s1))) {
    						if (chatTypeView == 2 || chatTypeView == 0) {
    							if (yPos > 0 && yPos < 210) {
    								int k1 = 11;
    								// textDrawingArea.method385(0, "From", yPos,
    								// k1);
    								// k1 += textDrawingArea.getTextWidth("From ");
    
    								newRegularFont.drawBasicString("From ", k1,
    										yPos, 0, -1);
    								if (byte0 == 5 || byte0 == 4 || byte0 == 3
    									|| byte0 == 2 || byte0 == 1 || byte0 == 0) {
    									k1 += textDrawingArea.getTextWidth("From ");
    								} else if (byte0 == 10 || byte0 == 9
    									|| byte0 == 8 || byte0 == 7 || byte0 == 6) {
    									k1 += textDrawingArea.getTextWidth("From ");
    								}
    								if (byte0 == 1) {
    									modIcons[5].drawSprite(k1 - 1, yPos - 11);
    									k1 += 12;
    								} else if (byte0 == 2) {
    									modIcons[4].drawSprite(k1 - 2, yPos - 13);
    									k1 += 12;
    								} else if (byte0 == 3) {
    									modIcons[0].drawSprite(k1 - 1, yPos - 11);
    									k1 += 12;
    								} else if (byte0 == 4) {
    									modIcons[2].drawSprite(k1, yPos - 10);
    									k1 += 12;
    								} else if (byte0 == 5) {
    									modIcons[2].drawSprite(k1, yPos - 10);
    									k1 += 12;
    								} else if (byte0 == 6) {
    									modIcons[5].drawSprite(k1 - 1, yPos - 11);
    									k1 += 12;
    								} else if (byte0 ==7) {
    									modIcons[4].drawSprite(k1 - 2, yPos - 13);
    									k1 += 12;
    								} else if (byte0 == 8) {
    									modIcons[0].drawSprite(k1 - 1, yPos - 11);
    									k1 += 12;
    								} else if (byte0 == 9) {
    									modIcons[2].drawSprite(k1, yPos - 10);
    									k1 += 12;
    								} else if (byte0 == 10) {
    									modIcons[2].drawSprite(k1, yPos - 10);
    									k1 += 12;
    								}
    								// textDrawingArea.method385(0, s1 + ":", yPos,
    								// k1);
    								// k1 += textDrawingArea.getTextWidth(s1) + 8;
    								// textDrawingArea.method385(0x800000,
    								// chatMessages[k], yPos, k1);
    
    								newRegularFont.drawBasicString(s1 + ":", k1,
    										yPos, 0, -1);
    								k1 += newRegularFont.getTextWidth(s1) + 8;
    								newRegularFont.drawBasicString(chatMessages[k],
    										k1, yPos, 0x800000, -1);
    							}
    							j++;
    							j77++;
    						}
    					}
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2011
    Posts
    77
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    Anybody?
    Reply With Quote  
     

  3. #3  
    Beast

    Join Date
    May 2010
    Posts
    301
    Thanks given
    6
    Thanks received
    27
    Rep Power
    40
    staff icons being loaded some other way change it back and make donor icons higher rights and keep staff the same
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2011
    Posts
    77
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by slimjimm000 View Post
    staff icons being loaded some other way change it back and make donor icons higher rights and keep staff the same
    i can't because of the way I organized my commands list. There has to be some fix. Besides, if I did that, donators wouldn't have a crown on split chat PMing.
    Reply With Quote  
     

  5. #5  
    Beast

    Join Date
    May 2010
    Posts
    301
    Thanks given
    6
    Thanks received
    27
    Rep Power
    40
    I can make it so donors have a crown when pming, but only for higher rights
    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

Similar Threads

  1. [PI] Adding donator status Icon
    By RsTix in forum Help
    Replies: 6
    Last Post: 05-13-2011, 10:04 PM
  2. staff icons
    By mike623030 in forum Help
    Replies: 14
    Last Post: 05-13-2011, 01:56 PM
  3. Staff icons PI
    By Tinkerbell1234 in forum Requests
    Replies: 5
    Last Post: 02-21-2011, 09:04 AM
  4. Staff icon for welcome msg
    By «I Gf I» ©£ in forum Help
    Replies: 5
    Last Post: 10-14-2009, 05:55 PM
  5. [508] donator's icon [508]
    By Owner Elve in forum Help
    Replies: 5
    Last Post: 06-20-2009, 12:00 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •