shouldn't this
getItems().PkPoints += 500;
be
PkPoints += 500;
idk delta just trying
|
Would this give 500 pk points?Code:if(CheckVotes(playerName)) { getItems().PkPoints += 500; sM("Thanks for voting! @red@VOTE EVERY 24 HOURS PLEASE!"); }
[also got an error]
Code:Compiling... .\client.java:14796: cannot find symbol symbol : method getItems() location: class client getItems().PkPoints += 500; ^ 1 error Press any key to continue . . .
shouldn't this
getItems().PkPoints += 500;
be
PkPoints += 500;
idk delta just trying
I believe so.. You don't have an getItems method, most likely returning the Items class. You need to either create that, or make it static access.
Then again pk points shouldn't have anything to do with items... You should add
Somewhere in the Player class.Code:public int pkPoints = 0;
Assuming the client class is extending the player class.
And go to thetoCode:getItems().PkPoints += 500;Problem solved rep plsCode:pkPoints += 500;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |