Server Time Tracking Issue
#7

Код:
new secs = NetStats_GetConnectedTime(playerid);
new mins = (secs/60)%60;
new hours = ((secs/3600)%24)/3600;
secs = secs%60;
If the player has played for 60000 seconds, the values of the variables will be as follows:

secs = 0;
mins = 40;
hours = 0.67;
Reply


Messages In This Thread
Server Time Tracking Issue - by BR3TT - 14.06.2015, 00:23
Re: Server Time Tracking Issue - by J0sh... - 14.06.2015, 00:31
Re: Server Time Tracking Issue - by [KHK]Khalid - 14.06.2015, 02:45
Re: Server Time Tracking Issue - by Yashas - 14.06.2015, 04:18
Re: Server Time Tracking Issue - by BR3TT - 14.06.2015, 07:15
Re: Server Time Tracking Issue - by [KHK]Khalid - 14.06.2015, 14:00
Re: Server Time Tracking Issue - by Yashas - 14.06.2015, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)