Divinerscape
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Divinerscape

Divinerscape beta 562 And 508
 
HomeGalleryLatest imagesSearchRegisterLog in
Adminpoints, Modpoints, Removepoints (Atomic Base) Statusimg.php?ip=divinerscape.no-ip
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Dota 6.78 Ai
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeTue Feb 18, 2014 5:14 am by chaunnef

» Autodata 3.38 Suomi Torrent
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeTue Feb 18, 2014 3:35 am by chaunnef

» Los Reyes De Arranque Puro Pinche Party Rar
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeFri Feb 14, 2014 5:51 pm by chaunnef

» SEVER NEEDS WORK!
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeSat Jun 16, 2012 11:48 am by mosf1415

» Keep spawning at falador??? when login with a new account
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeMon Aug 16, 2010 8:22 am by Jimmy300114

» How to Add Costum items (like agile and H'ween stuff)
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeSat Aug 14, 2010 8:35 am by Jimmy300114

» Making Npc's Talk???
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeSat Aug 14, 2010 6:02 am by Jimmy300114

» How do you Make Construction and Making G.e Work???
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeSat Aug 14, 2010 5:31 am by Jimmy300114

» omfg put the server on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeThu Aug 12, 2010 4:30 am by d3mons

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

 

 Adminpoints, Modpoints, Removepoints (Atomic Base)

Go down 
AuthorMessage
zeck
Owner
Owner



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

Adminpoints, Modpoints, Removepoints (Atomic Base) Empty
PostSubject: Adminpoints, Modpoints, Removepoints (Atomic Base)   Adminpoints, Modpoints, Removepoints (Atomic Base) I_icon_minitimeWed 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
https://divinerscape.forumotion.com
 
Adminpoints, Modpoints, Removepoints (Atomic Base)
Back to top 
Page 1 of 1
 Similar topics
-
» 562 rs2hd caelum's base adding shops
» Caelum Base Making a command cost money
» Caelum Base how to make ::item command for mods only

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