Alright I'm reading a tutorial how to add pk points to my server and the first step is this:
Originally Posted by
Core
Open up the player class and at the top add
Code:
public int playerKilled;
public ArrayList <Integer>killedPlayers = new ArrayList<Integer> ();
I get this error:
Code:
Player.java:1: class, interface, or enum expected
public int playerKilled;
^
Player.java:2: class, interface, or enum expected
public ArrayList <Integer>killedPlayers = new ArrayList<Integer> ();
^
2 errors
Press any key to continue . . .