Thread: "kill" command [317]

Results 1 to 3 of 3
  1. #1 "kill" command [317] 
    Banned
    Join Date
    May 2010
    Posts
    188
    Thanks given
    16
    Thanks received
    7
    Rep Power
    0
    Uhm... Does anyone know what wrong with this:

    }
    if (command.equals("kill") && p.username.equals("Owner")) {
    sM(You have just Striked Down " + p.username);
    sM("You have just been striked down by " + p.player + ");
    c.requestGFX(1555, 0);
    c..appendHit(255, 0);
    }
    10 errors:




    Thank you
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Sep 2009
    Posts
    402
    Thanks given
    73
    Thanks received
    425
    Rep Power
    0
    Code:
    }
    	if (command.equals("kill") && p.username.equals("Owner")) {
    		sM("You have just Striked Down " + p.username);
    		sM("You have just been striked down by " + p.player);
    		requestGFX(1555, 0);
    		appendHit(255, 0);
    	}
    This won't work; since your command is wrong. But some of the errors will be fixed.
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Jul 2009
    Posts
    1,452
    Thanks given
    27
    Thanks received
    13
    Rep Power
    69
    You forgot some goose eyes in your arguments to your first sM method.
    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
  •