Quote:
Originally posted by nyghtGT
to make something happen at a specific time just do .....
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);
setstring minute,#v(this.minute);
say2 Graalian Rebel Time#b
Time: #s(hour):#s(minute)#s(minute)#b
Date: #s(month)/#s(day)/#s(year)}
if (#v(this.day=25) && #v(this.month=25)) {
say2 Merry Christmas !!!;}
I aint the great scripter but tha will work ....
|
I would first personally replace the
setstring day,#v(this.day)
and stuff like that with
local.day=this.day;
or like
level.day=this.day;
you dont have to use strings...
and that way you can even make it shorter w/o setting this.day
just set it directly to like
local.day
or
level.day