Hours Minutes in dialog /stats MSGBOX - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hours Minutes in dialog /stats MSGBOX (
/showthread.php?tid=209506)
Hours Minutes in dialog /stats MSGBOX -
-•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 10.01.2011
guys is there any idea how to show player Hours/Minutes played?
Please Response
Arshavin, Thxbb..
Re: Hours Minutes in dialog /stats MSGBOX -
-•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 10.01.2011
someone response please?
Re: Hours Minutes in dialog /stats MSGBOX -
bartje01 - 10.01.2011
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.
AW: Hours Minutes in dialog /stats MSGBOX -
Kmitska - 10.01.2011
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");
Re: Hours Minutes in dialog /stats MSGBOX -
alpha500delta - 10.01.2011
@Kmitska, you need GetTime and new hour, minute; to
AW: Hours Minutes in dialog /stats MSGBOX -
Kmitska - 10.01.2011
i just made this tutorial
i think he can put it
Re: Hours Minutes in dialog /stats MSGBOX -
Outcast - 10.01.2011
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.