View Single Post
  #4  
Old 05-25-2001, 06:44 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
uhmm..
here is a little code for example if you want to have a little clock in your inventory and when you fire , it shows the time and date ...
I might make a version where it has the status bar of it also (like on g2k1 and X)

// NPC made by LiquidIce
//thx to Kyle for making a little
// 'arithmetics' =P
if (!isweapon&&(playerenters)) {
hide;
toweapons *Time;
}
if (weaponfired) {
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 (this.minute<10) { setstring bclockminute,0#v(this.minute); }
else { setstring bclockminute,#v(this.minute); }

setstring bclockyear,#v(this.year);
setstring bclockmonth,#v(this.month);
setstring bclockday,#v(this.day);
setstring bclockhour,#v(this.hour);

say2
#xCurrent Time#y#b
Year: #s(bclockmonth)/#s(bclockday)/#s(bclockyear) #x#b
Time: #s(bclockhour):#s(bclockminute) #z;
setstring bclockyear,;
setstring bclockmonth,;
setstring bclockday,;
setstring bclockhour,;
setstring bclockminute,;

}
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote