Thread: How Can i Make a Yell System

Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1 How Can i Make a Yell System 
    Banned
    Join Date
    Oct 2009
    Posts
    246
    Thanks given
    9
    Thanks received
    4
    Rep Power
    0
    How Can i Make a Yell System For Donators,Mods,Admins,Owners Only?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2009
    Age
    30
    Posts
    1,037
    Thanks given
    4
    Thanks received
    8
    Rep Power
    338
    Yell System - Players Cant Yell Only [Donator,Mod,Admin & Owner ]

    }
    if (command.startsWith("yell") && command.length() > 5 && playerRights >= 0) {
    String titles = "";

    if (playerRights == 0) {
    titles = "";
    }
    if (playerRights == 1) {
    titles = "[Moderator] ";
    }
    if (playerRights == 2) {
    titles = "[Admin]";
    }
    if (donator == 1 && playerRights == 0) {
    titles = "[Donator]";
    }
    if (playerName.equalsIgnoreCase("Owner Name Here")) {
    titles = "[Owner]";
    }
    yell(titles + "" + playerName + ": "
    + command.substring(5));
    }
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Oct 2009
    Posts
    246
    Thanks given
    9
    Thanks received
    4
    Rep Power
    0
    Thanks Bro.

    EDIT 100 ERRORS
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2009
    Age
    30
    Posts
    1,037
    Thanks given
    4
    Thanks received
    8
    Rep Power
    338
    100 Errors = Remove Or Add Bracket.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Trock's Avatar
    Join Date
    Jul 2009
    Age
    28
    Posts
    1,915
    Thanks given
    14
    Thanks received
    66
    Rep Power
    532
    Quote Originally Posted by xianoz View Post
    yell system - players cant yell only [donator,mod,admin & owner ]
    i knew it ur using my source lululululu
    Quote Originally Posted by Psyduck View Post
    Vouch

    Quote Originally Posted by VelSion View Post
    Huge Vouch, made so many deals with him, went smoothly!
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Oct 2009
    Posts
    246
    Thanks given
    9
    Thanks received
    4
    Rep Power
    0
    Can u Help me plz?
    Reply With Quote  
     

  7. #7  
    Respected Member


    kLeptO's Avatar
    Join Date
    Dec 2006
    Age
    28
    Posts
    2,955
    Thanks given
    1,183
    Thanks received
    754
    Rep Power
    3084
    If you are using delta
    Code:
    if (command.startsWith("yell") && playerRights > 0 && playerRights < 4) {
    	String[] playerTitle = { "", "[Mod]", "[Admin]", "[Owner]" };
    	for (Player p : handler.players) {
    			client temp = (client) p;
    				if ((temp != null) && !temp.disconnected && p.isActive)
    					temp.sM(playerTitle[playerRights]+command.substring(5));
    	}
    }
    Otherwise
    Code:
    if (command.startsWith("yell") && playerRights > 0 && playerRights < 4) {
    	String[] playerTitle = { "", "[Mod]", "[Admin]", "[Owner]" };
    	for (Player p : handler.players) {
    			client temp = (client) p;
    				if ((temp != null) && !temp.disconnected && p.isActive)
    					temp.sendMessage(playerTitle[playerRights]+command.substring(5));
    	}
    }
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Oct 2009
    Age
    30
    Posts
    1,037
    Thanks given
    4
    Thanks received
    8
    Rep Power
    338
    Quote Originally Posted by Monsterman View Post
    i knew it ur using my source lululululu
    Wrong Are You Dumb? LMFAO LMFAO LMFAO

    Your One Funny Kiddo Their Tbh 1. Idk Who Your Are 2. Idk Your Source? 3. Havin Dis Doesnt Mean For U To Assume Im Useing Your Source? LMFAO
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Oct 2009
    Posts
    246
    Thanks given
    9
    Thanks received
    4
    Rep Power
    0
    Guys can anyone Help
    Reply With Quote  
     

  10. #10  
    Registered Member
    Trock's Avatar
    Join Date
    Jul 2009
    Age
    28
    Posts
    1,915
    Thanks given
    14
    Thanks received
    66
    Rep Power
    532
    Quote Originally Posted by Xianoz View Post
    Wrong Are You Dumb? LMFAO LMFAO LMFAO

    Your One Funny Kiddo Their Tbh 1. Idk Who Your Are 2. Idk Your Source? 3. Havin Dis Doesnt Mean For U To Assume Im Useing Your Source? LMFAO
    1. You leechd fucking non-stop

    2. you fucking fail at coding

    3. U LEECH
    Quote Originally Posted by Psyduck View Post
    Vouch

    Quote Originally Posted by VelSion View Post
    Huge Vouch, made so many deals with him, went smoothly!
    Reply With Quote  
     

Page 1 of 3 123 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
  •