Posts: 219
Threads: 39
Joined: Mar 2011
Reputation:
0
Hey guys. I tried many times to create a clock when i type /time to show me the current time.
I will be very glad if anyone try to help me. Anyways giving a +REP.
Posts: 1,741
Threads: 44
Joined: Apr 2010
Reputation:
0
Do you already have an implemented clock ? If so, post the code here.
Posts: 219
Threads: 39
Joined: Mar 2011
Reputation:
0
I was using one but i removed it becouse other thing wasn't work ,so at the moment i don't have.
Posts: 219
Threads: 39
Joined: Mar 2011
Reputation:
0
The textdraw won't shows up. I don't know where is the problem.
Posts: 2,286
Threads: 18
Joined: Jun 2010
Quote:
Originally Posted by necrobg3
The textdraw won't shows up. I don't know where is the problem.
|
pawn Код:
CMD:time(playerid,params[])
{
new Hour, Minute, Second, string[32];
gettime(Hour, Minute, Second);
format(string, sizeof(string), "%02d:%02d:%02d", Hour, Minute, Second);
GameTextForPlayer(playerid, string, 5000, 1);
return 1;
}
Have fun