Thread: Vars?
View Single Post
  #7  
Old 08-29-2002, 03:04 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
x.X Perhaps so =P Timevar is serverwide, I wonder though, can I use it clientside? I was working on a time script, and it took me about 1.5 days to figure out the proper coding/mathmatics for it x.X
NPC Code:

this.minutes=timevar*5/60;
for (m=0;this.minutes>60;m++)
{ this.minutes=this.minutes-60;
}


That is for minutes. just add another /60 for hours, and then /60/24 for days, and /60/24/7 for weeks, I did a months and years too, he he. I'm working on a new "layout" for the A,S,D, Hearts, MP, basically showstats =P when I get done, you'll only see showstats 1024; =P Perhaps the minimap also I had a longer, actually more mathmatic version of that code I just put, but I simplified it =P
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote