Thread: ::save command?

Results 1 to 2 of 2
  1. #1 ::save command? 
    Extreme Donator

    Join Date
    Jul 2011
    Posts
    546
    Thanks given
    31
    Thanks received
    18
    Rep Power
    39
    Hello, I was wondering if anyone had a :ave command that did not have any dupes. I know theres a dupe with most of them and I was wondering if someone had this without the dupe?
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Sep 2011
    Posts
    432
    Thanks given
    94
    Thanks received
    58
    Rep Power
    44
    This is what I use, don't have any problems with it.
    Code:
    		if (playerCommand.startsWith("save")) {
    for(int i = 0; i < Config.MAX_PLAYERS; i++) {
    if(Server.playerHandler.players[i] != null) {
    Client c2 = (Client)Server.playerHandler.players[i];
    c2.SaveGame();
    c2.sendMessage("<col=255>Your character has been saved.");
    			}
    		}
    	}
    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. dementhium save command help
    By Norcotic in forum Help
    Replies: 2
    Last Post: 04-12-2012, 01:53 AM
  2. PI Coord Saving Command
    By Ghost` in forum Snippets
    Replies: 9
    Last Post: 10-16-2011, 03:46 PM
  3. project insanity save command?
    By secret wish in forum Help
    Replies: 13
    Last Post: 08-24-2011, 08:38 PM
  4. save command
    By Syndicate in forum Help
    Replies: 2
    Last Post: 06-21-2010, 04:04 PM
  5. Cool Saving Command!
    By I Zel I in forum Configuration
    Replies: 7
    Last Post: 07-11-2008, 08:26 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
  •