Post: [PI] Donator scroll
03-09-2015, 10:32 PM #1
Stunz
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({});
simple scroll that grants donator status

server sided -
Clickitem.java
    if(itemId == 675Cool Man (aka Tustin) {	
c.getDH().sendDialogues(320, 4289);
}


DialogueHandler.java
    
case 320:
sendOption2("Redeem Donator status", "Maybe later");
c.dialogueAction = 991;
c.teleAction = 0;
c.nextChat = 0;
break;


clickingbuttons.java add this below case 9157 in between the case and break
    if(c.dialogueAction == 991) {
c.isDonator = 1;
c.getItems().deleteItem(6758, 1);
c.logout();
}


and add this below case 9158: in between the case and break

    
if(c.dialogueAction == 991) {
c.getPA().removeAllWindows();
}



client sided -

itemdef.java

add this with the other cases
    
case 6758:
itemDef.name = "Donator scroll";
itemDef.description = "It's a Donator scroll";
break;
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo