Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global.frames += 1
- if(global.frames>=50){global.Second2 += 1;
- global.frames = 0;}
- if(global.Second2=10){global.Second1+=1;
- global.Second2=0;}
- if(global.Second1=6){global.Minute2+=1;
- global.Second1=0;}
- if(global.Minute2=6){global.Minute1+=1;
- global.Minute2=0;}
- if(global.Minute1=6){global.Hour1+=1;
- global.Minute1=0;}
- room_caption +=" Time: "+string(global.Hour1)+":"+string(global.Minute1)+string(global.Minute2)+":"+string(global.Second1)+string(global.Second2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement