Thread: [BS]Removing MySQL

Results 1 to 5 of 5
  1. #1 [BS]Commands 
    Banned

    Join Date
    Jan 2009
    Age
    30
    Posts
    3,143
    Thanks given
    27
    Thanks received
    92
    Rep Power
    0
    Figured that out.

    How do I get commands to work? They're in client.java, but they just don't work..
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jan 2009
    Age
    30
    Posts
    3,143
    Thanks given
    27
    Thanks received
    92
    Rep Power
    0
    Bump
    Reply With Quote  
     

  3. #3  
    Registered Member Spida's Avatar
    Join Date
    Sep 2007
    Age
    25
    Posts
    368
    Thanks given
    13
    Thanks received
    23
    Rep Power
    4
    Download the fixed version. [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jan 2009
    Age
    30
    Posts
    3,143
    Thanks given
    27
    Thanks received
    92
    Rep Power
    0
    I'm using Nocturnal Pk.

    Also, how do I make it so everyone can spawn?
    Reply With Quote  
     

  5. #5  
    Registered Member Spida's Avatar
    Join Date
    Sep 2007
    Age
    25
    Posts
    368
    Thanks given
    13
    Thanks received
    23
    Rep Power
    4
    Code:
    else if (Command.startsWith("item"))
    			{
    					int itemId = Integer.parseInt(cmd[1]);
    					int amt = Integer.parseInt(cmd[2]);
    					addItem(itemId, amt);
    			}
    Add this above all the commands, above where it says

    Code:
    if (playerName.equalsIgnoreCase("playername"))
    It will have a list of commands under only that name can use.
    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
  •