if (strcmp(cmdtext, "/time", true)==0) // Displays time in the hosters country.{ new Hours; new Minutes; new Seconds; new Days; new Months; new Years; new MonthName[15];new DaySuffix[3]; gettime(Hours, Minutes, Seconds); getdate(Years, Months, Days);if (Days==1||Days==21||Days==31){ DaySuffix="st";} else if (Days==2||Days==22){ DaySuffix="nd";} else if (Days==3||Days==23){ DaySuffix="rd";} else{ DaySuffix="th";}if (Months==1){ MonthName="January";}else if (Months==2){ MonthName="February";}else if (Months==3){ MonthName="March";}else if (Months==4){ MonthName="April";}else if (Months==5){ MonthName="May";}else if (Months==6){ MonthName="June";}else if (Months==7){ MonthName="July";}else if (Months==8){ MonthName="August";}else if (Months==9){ MonthName="September";}else if (Months==10){ MonthName="October";}else if (Months==11){ MonthName="November";}else{ MonthName="December";} if (Hours==0) { format(string, sizeof(string), "The server's date is: %d%s %s %d, and server's time is %d:%d:%d AM", Days,DaySuffix,MonthName,Years,Hours+12,Minutes,Seconds); } else if (Hours<13) { format(string, sizeof(string), "The server's date is: %d%s %s %d, and server's time is %d:%d:%d AM", Days,DaySuffix,MonthName,Years,Hours,Minutes,Seconds);} else { format(string, sizeof(string), "The server's date is: %d%s %s %d, and server's time is %d:%d:%d PM", Days,DaySuffix,MonthName,Years,Hours-12,Minutes,Seconds); }SendClientMessage(playerid,0xB04000,string); return 1;}