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.
Question
ristra
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
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.