Posts: 111
Threads: 19
Joined: Nov 2010
Reputation:
0
guys is there any idea how to show player Hours/Minutes played?
Please Response
Arshavin, Thxbb..
Posts: 1,419
Threads: 264
Joined: Jan 2009
Reputation:
0
Well, I don't have many time to explain. I'm scripting myself.
But getting stats in a dialog is almost the same as putting it in a SendClientMessage.
Posts: 65
Threads: 3
Joined: Jan 2011
Reputation:
0
here is a cheap example: (I didn't test it, just wrote it right now)
new string[285];
format(string,sizeof(string),"Hours: %d, Minutes: %d"Hours,Minutes);
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"S tats",string,"Accept","Decline");
Posts: 1,152
Threads: 11
Joined: Feb 2010
Reputation:
0
@Kmitska, you need GetTime and new hour, minute; to
Posts: 253
Threads: 85
Joined: Jan 2011
Reputation:
0
If you don't need minutes or anything, make a timer, set it to 3600000 (1hour) and make in stats a line HoursPlayed= and make it that every hour that number increases by 1.