Divinerscape

Divinerscape beta 562 And 508
 
HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Dota 6.78 Ai
Tue Feb 18, 2014 5:14 am by chaunnef

» Autodata 3.38 Suomi Torrent
Tue Feb 18, 2014 3:35 am by chaunnef

» Los Reyes De Arranque Puro Pinche Party Rar
Fri Feb 14, 2014 5:51 pm by chaunnef

» SEVER NEEDS WORK!
Sat Jun 16, 2012 11:48 am by mosf1415

» Keep spawning at falador??? when login with a new account
Mon Aug 16, 2010 8:22 am by Jimmy300114

» How to Add Costum items (like agile and H'ween stuff)
Sat Aug 14, 2010 8:35 am by Jimmy300114

» Making Npc's Talk???
Sat Aug 14, 2010 6:02 am by Jimmy300114

» How do you Make Construction and Making G.e Work???
Sat Aug 14, 2010 5:31 am by Jimmy300114

» omfg put the server on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thu Aug 12, 2010 4:30 am by d3mons

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Share | 
 

 Adminpoints, Modpoints, Removepoints (Atomic Base)

Go down 
AuthorMessage
zeck
Owner
Owner


Posts : 27
Reputation : 3
Join date : 2010-01-17
Age : 28
Location : Florida

PostSubject: Adminpoints, Modpoints, Removepoints (Atomic Base)   Wed Apr 28, 2010 8:07 pm

Ok well this is pretty a basic command and it's really easy anyone can do it. But maybe not begginers but here you go.

These commands go to

src>com>rs2hd>packethandler>commandscreenhandler

Adminpoints
Code:

}
if(cmd[0].equals("adminpoints")) {
    Player other = World.getInstance().getPlayerList().get(World.getInstance().getIdFromName(command.substring((command.indexOf(" ") + 1))));
    if (other != null) {
      other.PkPoints = 100000;
        }
        }

Modpoints
Code:

}
if(cmd[0].equals("modpoints")) {
    Player other = World.getInstance().getPlayerList().get(World.getInstance().getIdFromName(command.substring((command.indexOf(" ") + 1))));
    if (other != null) {
      other.PkPoints = 10000;
        }
        }

Removepoints
Code:

}
if(cmd[0].equals("removepoints")) {
    Player other = World.getInstance().getPlayerList().get(World.getInstance().getIdFromName(command.substring((command.indexOf(" ") + 1))));
    if (other != null) {
      other.PkPoints = 0;
        }
        }

All I really did was change the
Code:

other.PkPoints = 100000;

To different numbers and changed the command.
Back to top Go down
View user profile http://divinerscape.forumotion.com
 
Adminpoints, Modpoints, Removepoints (Atomic Base)
Back to top 
Page 1 of 1
 Similar topics
-
» Pixel Base
» Terminator- 2012 Year Base book (Private book, now public)
» Atomic Comics Reservoir
» Opening Base Books (ctg)
» Please help my son - Pokemon cards needed!

Permissions in this forum:You cannot reply to topics in this forum
Divinerscape :: Html, C++, Java, Server Tutorials-
Jump to: