Thread: [PI]Giving a rank through clickingbuttons>>HELP

Results 1 to 6 of 6
  1. #1 [PI]Giving a rank through clickingbuttons>>HELP 
    Registered Member
    Join Date
    Dec 2011
    Posts
    297
    Thanks given
    2
    Thanks received
    11
    Rep Power
    21
    I made a book, that sends dialogues asking if they'd like to use the book and become a donator or continue as a free player. This is what i put in clickingbuttons on the correct button line, which is 9157:
    Code:
    } else if (c.dialogueAction == 744) {
    c.getItems().deleteItem(784, 1);
    c.isDonator = 1;
    c.sendMessage("Grats you're donor blah blahlbha");
    the thing is, when you select the option ingame, it shows the message, and deletes the item...BUT it does not give the donator status? Why would this be?
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Oct 2012
    Posts
    103
    Thanks given
    0
    Thanks received
    14
    Rep Power
    0
    } else if (c.dialogueAction == 744) {
    c.getItems().deleteItem(784, 1);
    c.isDonator = 1;
    c.playerRights = 4;
    c.disconnected = true;
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2011
    Posts
    297
    Thanks given
    2
    Thanks received
    11
    Rep Power
    21
    Quote Originally Posted by FakeAgent View Post
    } else if (c.dialogueAction == 744) {
    c.getItems().deleteItem(784, 1);
    c.isDonator = 1;
    c.playerRights = 4;
    c.disconnected = true;
    Is there a way to make it so it doesnt log you out?
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Dec 2012
    Posts
    251
    Thanks given
    172
    Thanks received
    85
    Rep Power
    0
    Quote Originally Posted by iXzr View Post
    Is there a way to make it so it doesnt log you out?
    Code:
    } else if (c.dialogueAction == 744) {
    c.getItems().deleteItem(784, 1);
    c.isDonator = 1;
    c.playerRights = 4;
    //c.disconnected = true;
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2011
    Posts
    179
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    make it so c.disconnected = false or just delete that whole line of code
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2011
    Posts
    297
    Thanks given
    2
    Thanks received
    11
    Rep Power
    21
    Quote Originally Posted by Xxp3restr View Post
    make it so c.disconnected = false or just delete that whole line of code
    Yes, but if i do that it won't update the person so therefore they'd have to log out anyways to see that they have the donator crown.
    Reply With Quote  
     


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. Association with clickingbuttons
    By IngeniousPentaSquid in forum Help
    Replies: 12
    Last Post: 06-05-2011, 02:28 PM
  2. [5.00][Pi] ClickingButtons Problem
    By Zebra in forum Help
    Replies: 12
    Last Post: 05-20-2011, 08:54 AM
  3. [PI] Simple ClickingButtons
    By Hydroph in forum Help
    Replies: 0
    Last Post: 05-19-2011, 02:59 AM
  4. [PI] clickingbuttons.
    By hontiris1 in forum Help
    Replies: 6
    Last Post: 12-26-2010, 01:10 PM
  5. [PI] ClickingButtons Bug
    By iobpkbarrage in forum Help
    Replies: 0
    Last Post: 11-27-2010, 06:28 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
  •