Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward time();
- public time()
- {
- new string[256], day, month, year, hours, minutes, seconds;
- getdate(day, month, year), gettime(hours, minutes, seconds);
- format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
- TextDrawSetString(Textdraw5, string);
- format(string, sizeof string, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds);
- TextDrawSetString(Textdraw3, string);
Advertisement
Add Comment
Please, Sign In to add comment