SA-MP Forums Archive
minutes from server start - 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: minutes from server start (/showthread.php?tid=652753)



minutes from server start - ShadowBlack - 18.04.2018

how can I see how many minutes I have since started the server?
cum pot face sa vad cate minute sunt de cand a pornit server-ul?


Re: minutes from server start - Twixxx - 18.04.2018

smth like that, i think, will work:

PHP код:
new
    
variable;
public 
OnGameModeInit()
{
    
variable gettime();
    return 
1;
}
// how minutes from the start: (gettime() - variable)/60 



Re: minutes from server start - ShadowBlack - 18.04.2018

thank you