#3

new day,month,year,hour,mins,sec;
gettime(hour,mins,sec);
getdate(day,month,year);
pawn Код:
if(!strcmp(cmd,"/time",true))
{
  format(string,sizeof(string),"The date is now: %d/%d/%d, The time is now: %d:%d:%d",day,month,year,hour,mins,sec);
  return SendClientMessage(playerid,0xFFFFFFAA,string);
}
Reply


Messages In This Thread
Time - by Schock - 28.02.2009, 08:34
Re: Time - by zyx - 28.02.2009, 08:40
Re: Time - by MenaceX^ - 28.02.2009, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)