Thread: donated total!

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11  
    Registered Member
    Join Date
    Aug 2014
    Posts
    259
    Thanks given
    2
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by Kris View Post
    I'll just make it simple. Forget the getDonatedAmount and setDonatedAmount. At this point I can't be bothered explaining why you should use these and as I can tell it doesn't even matter lol.

    Just add the public int donatedAmount; Player.java
    @Quest tab sendFrame126 - write text as you want and just include + player.donatedAmount +
    @Spot at which you give the reward for the clue add player.donatedAmount += 10. Simple.
    getPA().sendFrame126("@red@Donated total: @cya["+player.donatedAmount+"] ", 29177); like this?
    Reply With Quote  
     

  2. #12  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by blaxe View Post
    getPA().sendFrame126("@red@Donated total: @cya["+player.donatedAmount+"] ", 29177); like this?
    Trial and error rather than question and answer. The best teacher is yourself. Keep trying until you actually succeed, because once you do, you will actually remember it with the first time.
    Reply With Quote  
     

  3. #13  
    Registered Member
    Join Date
    Aug 2014
    Posts
    259
    Thanks given
    2
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by Kris View Post
    Trial and error rather than question and answer. The best teacher is yourself. Keep trying until you actually succeed, because once you do, you will actually remember it with the first time.
    getPA().sendFrame126("@red@Donated total: @cya["+player.donatedAmount+"] ", 29177); like this?

    I fixed it with, getPA().sendFrame126("@red@Donated total: @cya["+donatedAmount+"] ", 29177); like this?


    Rewards,
    if (itemId == 607) {
    c.isDonator = 1;
    c.playerRights = 8;
    c.getItems().deleteItem(607, 1);

    }

    How to fix?
    Reply With Quote  
     

  4. #14  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    fixed for him
    Reply With Quote  
     

  5. Thankful user:


  6. #15  
    Registered Member
    Join Date
    Aug 2014
    Posts
    259
    Thanks given
    2
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by Zivik View Post
    fixed for him
    Thanks man.
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Donation total disappears on logout?
    By Chris14987 in forum Help
    Replies: 2
    Last Post: 07-12-2015, 07:27 PM
  2. Total donation amount with rspay?
    By novadude in forum Help
    Replies: 12
    Last Post: 06-23-2015, 08:27 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •