|
| 14 Jul 2017 11:41 PM |
http://wiki.roblox.com/index.php?title=In_Game_Currency#Daily_Login_Bonus
I'm having trouble understanding what the two lines mean:
CurrencyManager:SetDailyLoginBonus(10) CurrencyManager:SetTimeZoneOffsetHours(-8) |
|
|
| Report Abuse |
|
|
doggy00
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 3571 |
|
|
| 14 Jul 2017 11:44 PM |
| Never worked with that but it seems the timezoneoffsethours doesn't matter that much. the setdailyloginbonus is self-explanatory, as it defines how much of whatever value the person gets. |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2017 11:50 PM |
I'm still very confused about the TimeZoneOffsetHours. sorry if I'm that dumblol |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2017 11:50 PM |
| I'm just wondering how they got that number, what odes it mean, and do I have to change it? |
|
|
| Report Abuse |
|
|
doggy00
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 3571 |
|
|
| 15 Jul 2017 12:06 AM |
Not 100% sure as I've never bothered with login bonuses in the past, but I'll read into it.
--later--
Okay, I read into it and it seems like it just decides which timezone the login bonus uses (aka what time it needs to pass to be considered a day).
-8 is default and it's PST (Pacific time).
If you were to set it to 0 then it'd actually be the time in Casablanca (a city in western Africa), lol. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2017 12:15 AM |
| doggy00 thank you very much. |
|
|
| Report Abuse |
|
|
doggy00
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 3571 |
|
| |
|