Jump to content
  • 0

Question

Posted

I'm currently working on my Daily Reward script, which will gives a player item and zeny each day.

But one char can only get it once per day. The thing i wanna ask is how to make the character can only pick the reward once per day, and then he can pick it again in the next day ?

I don't know the syntax that can resets the char's variable when the day changes, so the character can take the reward again.

Please Help thanks :)

4 answers to this question

Recommended Posts

Posted

you can try use the gettime() command to save the date data.

and use npc to check for the date data before give the reward.

and save it in a Permanent Character Data type or Account

Posted (edited)

It is not advisable to get a daily rewards script as it can be turn to abuse-able by your players.

- Abuse-able by creating multiple accounts and then transfer to main account.

Edited by Jezu
Posted

Thanks a lot Emistry it works great with the gettime ! :D

Yep i'm making the item non-trade/vending/store-able of course, anyway thanks a lot for all your help :)

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