Thread: pi yell command errors.

Results 1 to 2 of 2
  1. #1 pi yell command errors. 
    Registered Member

    Join Date
    Sep 2009
    Age
    27
    Posts
    2,768
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    fixed..
    Reply With Quote  
     

  2. #2  
    Donator
    Ed17's Avatar
    Join Date
    Jun 2011
    Posts
    296
    Thanks given
    42
    Thanks received
    14
    Rep Power
    10
    if (playerCommand.startsWith("yell")) {
    for (int j = 0; j < Server.playerHandler.players.length; j++) {
    if (Server.playerHandler.players[j] != null) {
    Client c2 = (Client)Server.playerHandler.players[j];
    if (c.isDonator == 1 && (c.playerRights < 1 || c.playerRights > 3)) {
    c2.sendMessage("<shad=6081134>[Donator]</shad><img=0>"+ Misc.optimizeText(c.playerName) +": <col=1532693>"
    + Misc.optimizeText(playerCommand.substring(5)) +"");
    }
    like this works, compare and fix ^_^
    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. Replies: 50
    Last Post: 04-17-2014, 02:19 PM
  2. [614] Yell Command
    By .alycia in forum Snippets
    Replies: 14
    Last Post: 04-25-2011, 03:20 PM
  3. Yell Command?
    By xx fox xx in forum Help
    Replies: 2
    Last Post: 06-26-2010, 02:50 AM
  4. ::yell command
    By Bestia in forum Help
    Replies: 7
    Last Post: 12-18-2009, 02:32 AM
  5. Yell command
    By pawelwoj in forum Help
    Replies: 4
    Last Post: 09-12-2009, 06:36 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •