Maybe
Code:rewardId = 6199 && c.triviaPoints += 2;
|
I added "Trivia Points" and im trying to make it so when you answer trivia correctly it gives u a point + the item. Im getting this error when i try to make it give a point Screenshot by Lightshot
Here is the file so you can try and help me fix it, package server.world; import server.util.*; import server.model.items.*; im - Pastebin.com
Thanks, Will
Maybe
Code:rewardId = 6199 && c.triviaPoints += 2;
nope still error. Please someone help
Client c = blahblah;
In your processEntry void, try if(rewardAmount == 1) {
c. c.triviaPoints += 2;
}
Simply adding a ; after Client c may fix it. If not, try changing Client c to
And make sure to import PlayerHandler if it's not alreadyCode:Client c = (Client) PlayerHandler.players[this.playerId];
Sent you my teamviewer info
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |