Jump to content

Convert million seconds to minutes [Solved]


iPrestege

Recommended Posts

What do you mean by "millon seconds"? you can convert seconds to minutes like this:
minutes = ( seconds / 60 ) 

Thank's i need that one and the million too

Did you mean milliseconds?
( ms / 1000 / 60 ) 

Thank's i need that one and the Solidsnake Code too

Thank's Guys For Help :)

Link to comment

Sorry :/ But what's the problem here? i get the ban but i can join again after 1 second ?? i want it the ban time for 5 minutes?

addEvent("onBanPlayer",true) 
addEventHandler("onBanPlayer",root, 
    function ( Player,TimeBan,BanReason ) 
            local FiveMin = ( 300 / 60 ) 
                banPlayer ( Player, false, false, true,source,tostring(BanReason),FiveMin ) 
            end 
        end 
    ) 
         
         
  
Link to comment

Ah,-_- My bad forget to check the wiki thatnk's (:

Edit: Sorry man :/ but i have problem ! i change it to :

addEvent("onBanPlayer",true) 
addEventHandler("onBanPlayer",root, 
    function ( Player,TimeBan,BanReason ) 
      banPlayer ( Player, false, false, true,source,tostring(BanReason),100) 
 outputChatBox("* The Player ["..getPlayerName(Player).."] Has Been Ban By | "..getPlayerName(source).." ",getRootElement(),255,0,0,true) 
        end 
) 
         

and ban me for ??

"my serial" banner="Mr.Pres[T]ege" reason="Reason Test" time="1365710213" unban="1365710513">

what u think?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...