Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task ServerFuncs[1000]()
- {
- /* ---- Clock System ---- */
- new clock[100],year,month,day,hours,minutes,seconds;
- getdate(year, month, day), gettime(hours, minutes, seconds);
- format(clock, sizeof clock, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
- TextDrawSetString(DateTxd, clock);
- format(clock, sizeof clock, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds);
- TextDrawSetString(TimeTxd, clock);
- /* ---------------------- */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement