Jump to content
  • 0

own points


Question

5 answers to this question

Recommended Posts

Posted

Sample : 

prontera,150,150,0    script    Sample    100,{
    set #OWNPOINTS, #OWNPOINTS + 5;
    dispbottom "You now have " +#OWNPOINTS+ " own points.";
    end;
}

Every time people click on this npc. They will have additional 5 #OWNPOINTS credited on their accounts. The dispbottom command will show how many own points a certain player has. If you want items to be bought by your own custom points then i suggest you use @Emistry multi currency shop ( http://rathena.org/board/files/file/2504-multi-currency-shop/ ). It's easy to configure. 

Posted

You can easily create your own points by simply making it either account or character based variables. For example

 

Giving your own points to player :

set #OWNPOINTS,#OWNPOINTS + <amount>; // acount base
set OWNPOINTS,OWNPOINTS + <amount>; // character base

Checking own points to any player : 

dispbottom "You now have " +#OWNPOINTS+ " own points."; // account base
dispbottom "You now have " +OWNPOINTS+ " own points."; // character base
Posted

own points... for example i want an npc that can only buy the items using the premium points.... in ragnarok there is a kafra points and cash points... but i want to make a premium points.



You can easily create your own points by simply making it either account or character based variables. For example

 

Giving your own points to player :

set #OWNPOINTS,#OWNPOINTS + <amount>; // acount base
set OWNPOINTS,OWNPOINTS + <amount>; // character base

Checking own points to any player : 

dispbottom "You now have " +#OWNPOINTS+ " own points."; // account base
dispbottom "You now have " +OWNPOINTS+ " own points."; // character base

i dont get it. can you pls explain and make a step on it? sorry ....

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...