Declare a int variable in Player.java
Then when a player dies,Code:public int playerPoints = 0;
Code:p.pkPoints ++; p.frames.sendMessage(p, "You have " +p.pkPoints+ " pk points.");
|
okay yeh my base is
508 loading 525
but umm pm the files u need and ill post code and see if it works
(cry)
Declare a int variable in Player.java
Then when a player dies,Code:public int playerPoints = 0;
Code:p.pkPoints ++; p.frames.sendMessage(p, "You have " +p.pkPoints+ " pk points.");
http://www.rune-server.org/showthrea...50#post1744250 SOMEONE PLEASE COME HELP ME>!
Code:public int playerPoints;
Code:stream.writeString("pkpoints:" + p.pkpoints); else if (line.startsWith("pkpoints:")) p.pkpoints= Integer.parseInt(line.substring(8));
okay yeh where do i put this? and also what about shops
ive coded 317 for 2 years i got map editors i made my own customs and all that i know how to do stuff on 317 just 508+ is alittle harder
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |