Register for your free account! | Forgot your password?

You last visited: Today at 03:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Total play time

Discussion on Total play time within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: May 2013
Posts: 27
Received Thanks: 0
Dell

Dell
_-Russian-_ is offline  
Old 01/05/2015, 10:19   #2
 
elite*gold: 0
Join Date: May 2013
Posts: 27
Received Thanks: 0
up
_-Russian-_ is offline  
Old 01/05/2015, 14:57   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Here

public function sectohrs($seconds) {
$Stunden = floor($seconds / 3600); $Rest1 = (($seconds / 3600) - $Stunden); $Minuten = floor($Rest1 * 60);
return $Stunden.'h '.$Minuten.'m';
}

you need to call the function like this

$Func->sectohrs($ranking['TotalPlayTime'])

Be aware that i am using classes so you need to change it but you can also do this

inside Ranking.php

Code:
function sectohrs($seconds) {
		$Stunden = floor($seconds / 3600); $Rest1 = (($seconds / 3600) - $Stunden); $Minuten = floor($Rest1 * 60);
		return $Stunden.'h '.$Minuten.'m';
	}
Call it like this
Code:
<div class="p15 center">'.sectohrs($result['TotalPlayTime']).'</div>
raventh1984 is offline  
Thanks
1 User
Old 01/05/2015, 23:17   #4
 
elite*gold: 0
Join Date: May 2013
Posts: 27
Received Thanks: 0
//del
_-Russian-_ is offline  
Old 01/11/2015, 15:32   #5

 
iLogix3's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 363
Received Thanks: 168
I think its done

#closerequest
iLogix3 is offline  
Closed Thread


Similar Threads Similar Threads
[Ger/Eng] How To Play Dance Time
06/05/2012 - General Gaming Discussion - 20 Replies
English: For all nubs who do not know how to work with .res files I give you a small tut. 1.) Just put this info file into your FT folder (alaplaya/FantasyTennis/Res/Stage) and replace the old one. 2.) Now open basic/battle room and choose Atlantis, you will play on Dance Time map. 3.) Have Fun! Deutsch:
MW2 Play Time
06/15/2010 - General Coding - 0 Replies
So ich hab jetzt die Richtige Adresse und musste von 4 Bytes auf 8 Bytes Stellen wenn ich jetzt in CE den Vaule auf 60 stelle ist meine Play Time 1 Minute stelle ich den Value auf 0 ist meine Play Time 0 Minuten so wie ich es haben möchte! aber jetzt kommt vb nicht klar! wenn ich es so mache wie auf dem Bild zusehen ist kommen irgent welche zahlen und nicht mein 0 als Value! einer ne Idee warum? http://www4.pic-upload.de/15.06.10/f8my7p1djlru.j pg
[Help]not enough play time
08/12/2009 - Dekaron Private Server - 2 Replies
i run my server and i login to it...when come to the select char screen, i select my char and click start/enter...but i cannot enter the game..it says 'not enough play time'.. plz help anyone....thanx



All times are GMT +1. The time now is 03:28.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.