here is a time script I just made. Anyone can use it and for those who dont understand i'll explain to you ... It has seconds, hours, minutes, days, months, and year now:
NPC Code:
// NPC made by Nyght *Asst* (LAT Admin)
if (playerenters) {
timeout=1;
}
if(timeout){
this.time=timevar;
time+=1;
showimg 201,@verdana@Time: #v(hour):#v(minute):#v(time) #s(am/pm),495,70;
changeimgvis 201,4;
changeimgzoom 201,0;
showimg 202,@verdana@Date: #v(month)/#v(day)/#v(year) G.T.,495,85;
changeimgvis 202,4;
changeimgzoom 202,0;
setstring am/pm,A.M.;
timeout=1;
}
if (time=60) {
time=1;
timeout=1;
minute+=1;
}
if (minute=60) {
time=1;
timeout=1;
hour+=1;
}
if (hour=12 && am=1) {
time=1;
timeout=1;
hour=1;
setstring am/pm,P.M.;
}
if (hour=12 && am/pm=P.M.) {
time=1;
timeout=1;
hour=1;
setstring am/pm,A.M.;
day+=1;
}
if (day=31) {
time=1;
timeout=1;
hour=1;
day=1;
setstring am/pm,A.M.;
}
if (month=13) {
time=1;
timeout=1;
hour=1;
day=1;
month=1;
setstring am/pm,A.M.;
year+=1;
}
Also, please tell me if your gonna use this. You have my permission, but just notify me of its use.