Jump to content

how to set this to zeny instead of items


Recommended Posts


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

Hi nakuha panu po gawing zeny ang need dito sa script na to http://pastebin.com/sfXvv9ZU

may nakalagay kung panu gawin pero di ko alam kung san ko ilalagay to

Then use Zeny checks instead of item checks. It's not hard to figure out.

if (Zeny < your_amount) { mes "You don't have enough Zeny."; close; } // Check

set Zeny, Zeny - your_amount; // Remove

Edited by Natsu Dragneel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

change line 3

mes "It costs "+.Cost[1]+"x "+getitemname(.Cost[0])+" to play.";

then

replace line 4 for with your if condition for zeny.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

thank you again euphy! its working fine!

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

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

×
×
  • Create New...