Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Convert seconds into minutes.

$
0
0
Is it possible to convert seconds into minutes? and how would i do this?

This will display seconds:
PHP Code:

format(str,sizeof(str),"{FFFFFF}Ban expire: {FF0000}in %d seconds\n\n",iDump-gettime());
              
strcat(string2,str); 

Seconds are selected from SQLlite db.

PHP Code:

db_get_field_assoc(qHandle"banlength"szDumpsizeof(szDump));
        
iDump strval(szDump); 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>