22.05.2013, 21:08
pawn Код:
new Year, Month, Day;
getdate(Year, Month, Day);
printf("%02d/%02d/%d", Day, Month, Year);
How would I get this into text (SendClientMessage)? I tried but failed, because it was a bunch of random numbers.
new Year, Month, Day;
getdate(Year, Month, Day);
printf("%02d/%02d/%d", Day, Month, Year);
new Year, Month, Day,string[124];
getdate(Year, Month, Day);
format(string,sizeof(string),"%02d/%02d/%d", Day, Month, Year);
SendClientMessage(playerid,-1,string);
format(string,sizeof(string),"Date: %02d/%02d/%d", Day, Month, Year);