DIR Return Create A Forum - Home
---------------------------------------------------------
RunePalace
HTML https://runepalaceforums.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Runescape Private Servers Help and Tutorials
*****************************************************
#Post#: 1408--------------------------------------------------
heres how to make ::Givekills (gives them pk points)
By: Hybrid Date: January 7, 2011, 10:58 pm
---------------------------------------------------------
[code]if(cmd[0].equalsIgnoreCase("givekills")){
String person = (cmd[1].replace("_", "
"));
Player p2 =
Engine.players[Engine.getIdFromName(person)];
p2.kills += Integer.parseInt(cmd[2]);
p2.totalKills +=
Integer.parseInt(cmd[2]);
p2.KC += Integer.parseInt(cmd[2]);
p.getActionSender().sendMessage(p, "You
add " + Integer.parseInt(cmd[2]) + " to "+p2.username+"'s
kills");
} [/code]
#Post#: 1486--------------------------------------------------
Re: heres how to make ::Givekills (gives them pk points)
By: Zito6694 Date: January 8, 2011, 1:36 pm
---------------------------------------------------------
what does giving them pk points do?
#Post#: 1494--------------------------------------------------
Re: heres how to make ::Givekills (gives them pk points)
By: Hybrid Date: January 8, 2011, 6:19 pm
---------------------------------------------------------
This is used mostly for pk servers, so people usually donates
for pk points, so this saves the owner time. and gives the
donator 100 pk points.
#Post#: 1510--------------------------------------------------
Re: heres how to make ::Givekills (gives them pk points)
By: Zito6694 Date: January 8, 2011, 6:31 pm
---------------------------------------------------------
oh, ok, that makes sense now
#Post#: 1553--------------------------------------------------
Re: heres how to make ::Givekills (gives them pk points)
By: Hybrid Date: January 8, 2011, 7:18 pm
---------------------------------------------------------
yeah, it's pretty used on pvp servers.
*****************************************************