Time - 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)
+--- Thread: Time (
/showthread.php?tid=487903)
Time -
EmpireSk - 15.01.2014
Hi, where can I find the script to write how much time the player was on the server and when it comes again to the server so that it will continue over time
Re: Time -
Lidor124 - 15.01.2014
You can make a variable like i did:
where the enum of PlayerInfo
enum pInfo
{
pMinutes,
if you already have so add this
You need to make a clock or time system or whatever it called and in this public/stock use ++
then use functions gettime and getdate.
Under your public of clock you put there PlayerInfo[playerid][pMinutes] ++;
I just giving you the idea....
Re: Time -
EmpireSk - 15.01.2014
Well ok but to enroll minutes because what I did, for example, I'm on the servers for 30 minutes and it shows me 1 hour and 19 minutes