Jump to content

Question

Posted

hi

 

can anyone help me with this one? i want an item that when the player use it the item will grant you a 100 cash points. just like a credit coin

 

1 credit coin = 100 points.

 

still newbie on this please help me..

1 answer to this question

Recommended Posts

Posted (edited)

Add this in your item_db2

 

8500,Credit_Coin,Credit Coin,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS, #CASHPOINTS+100; },{},{}

The line in bold and red is the code. If the player uses this item, he will receive 100 cash points.
Edited by MrVandalBus

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