Raised This Month: $ Target: $400
 0% 

PlayTime


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 07-17-2011 , 05:34   Re: PlayTime
Reply With Quote #5

For somereason this doesn't work..

PHP Code:
new const g_iBanTime[8] = {
    
300,
    
3600,
    
360,
    
1440,
    
360,
    
604800,
    
604800,
    
0
};

new 
SecsMinsHours;

Secs g_iBanTime[i];

convert_secondsSecsMinsHours );
formatex(szTimecharsmax(szTime), "\d(%ih %imins %is)"HoursMinsSecs);

stock convert_seconds( &seconds, &minutes, &hours ) {
    
hours seconds 3600
    minutes 
= (hours 3600) / 60
    seconds 
%= 60

__________________
Retired.

Last edited by Xalus; 07-17-2011 at 05:36.
Xalus is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode