Raised This Month: $ Target: $400
 0% 

Array and variables


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 03-24-2006 , 07:05  
Reply With Quote #10

The following is the time minuts for a ban (0 = permanent)

Code:
if (get_user_flags(id)&HIGHER_BAN_TIME_ADMIN) {     switch(g_menuOption[id])     {         case 0: g_menuSettings[id] = 60         case 1: g_menuSettings[id] = 4320         case 2: g_menuSettings[id] = 10080         case 3: g_menuSettings[id] = 0     } }

In the ban menu those numbers are shown, but it can be har to know excactly what those number are in dayes/weeks.

So the thing i want to do is the banmenu shows:
Code:
1. 1Hour 2. 3Days 3. 7Days 4. Permanent

The problem is the function need the time in minuts and not a text string.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
 



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 16:38.


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