Jump to content
  • 0

Question

Posted

Can anyone make some custom points system. Like THQ points that can buy items, and like refer NPC. Those npc's use custom points then can buy items in npc that requires to have that points. I just want to have something like that, for example, this npc needs this required items (7227), then if the player gives the items, itll give #exclusive points and that points can only use or buy on one npc that only using that points. Sorry for my very bad english. Hard to explain this thing >.<

3 answers to this question

Recommended Posts

Posted (edited)

Just have the NPC take the item 7227, and in return you

 

set #EPOINTS, #EPOINTS+1;

 

And then when you're going to buy an item, just check the points and subtract them.  Like this.

 

if (#EPOINTS > 49) {
    set #EPOINTS, #EPOINTS-50;
    getitem 509,1;
    close;
    }
else {
    mes "You don't have enough points.";
    close;
}
Edited by michaelsoftman

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...