
06-15-2001, 10:46 PM
|
|
Registered User
|
Join Date: Jun 2001
Posts: 130
|
|
Time help?
|
What's wrong with this?
if (playerenters) {toweapons *Time}
if (isweapon||timeout) {timeout=.05;
this.minute = int(timevar / .2)%60;
this.hour = int(this.minute / 60)%24;
this.day = int(this.hour / 24)%30;
this.month = int(this.day / 30)%12;
this.year = int(this.month / 12)}
if (weaponfired) {setstring year,#v(this.year);
setstring month,#v(this.month);
setstring day,#v(this.day);
setstring hour,#v(this.hour);
setstring minute,#v(this.minute);
say2 Excalibur Time#b
Time: #s(hour):#s(minute)#b
Date: #s(month)/#s(day)/#s(year)}
It doesn't show the right time when I fire the weapon and it also doesn't count time right. |
__________________
You may think that Death is the end to everything, it is only the beginning to some...
|
|
|
|