![]() |
Timevar: Minutes/Hours/Days/Months/Years
I decided to play w/ timevar yesterday, and it took me a bit to come up with the following, but I find it may be helpful for others if they intend to do some sort of server time system :)
NPC Code: it should ALL be clientsided btw, I don't know if timevar works clientside yet because I haven't been home to test anything, I've done this ALL at school today, enjoy, you're welcome BTW. ---Shifter P.S. If you DO end up using part(s) of my ideas here, please include //Timevar: hours/minutes by Projectshifter ([email protected]) thanks. ---Shifter |
...
0.0
|
I just tested that offline......it was all screwed up, the time that is, PLUS it was LAGGY as hell....it's pretty bad when a script is THAT laggy OFFLINE
|
i tried that too
1 Attachment(s)
Since someone brought up timevar,
here is what I did with it. reply what you will about it. one thing i ask is that if you have a gripe or complaint then you MUST also post a suggested fix, even if its in plain english or algorithm-ish. |
whoa
cool and i think prozac is in the running for best sig award =D
|
prozac, look into string arrays, instead of having to set a string for each month, do
setstring this.months,January,February,March,April,May,June, July,August,September,October,November,December; and use a var to get the month #I(this.months,0) = January |
LOL, I did say however I didn't test the script. I didn't quite realize it couldn't process math quite like that =P I altered it a bit using w/ Commands, and it takes FOREVER to just CHUNK down the hours x.X So it sux0rz, he he.
---Shifter |
Quote:
|
All times are GMT +2. The time now is 02:38 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.