Is it possible to convert gettime() into Date and Time?
#3

As far as I know you can do:

pawn Код:
new Hours,Minutes,Seconds;
pawn Код:
gettime(Hours,Minutes,Seconds);
Then Use the Hours, Minutes And Seconds to do what ever you want like formatting it into a SendClientMessage:

pawn Код:
format(String,sizeof(String),"The Time Is: %d Hours, %d Minutes and %d Seconds!",Hours,Minutes,Seconds);
Is that what you mean or have i completly lost the point?

Ok I re-readed Your post, Ignore all that...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)