iPrestege Posted April 11, 2013 Share Posted April 11, 2013 (edited) Hello, Can some one help me to "Convert million seconds to minutes" ? and how to do it ? Thanks in advance . Edited April 11, 2013 by Guest Link to comment
Castillo Posted April 11, 2013 Share Posted April 11, 2013 What do you mean by "millon seconds"? you can convert seconds to minutes like this: minutes = ( seconds / 60 ) Link to comment
ixjf Posted April 11, 2013 Share Posted April 11, 2013 Did you mean milliseconds? ( ms / 1000 / 60 ) Link to comment
iPrestege Posted April 11, 2013 Author Share Posted April 11, 2013 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
iPrestege Posted April 11, 2013 Author Share Posted April 11, 2013 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
iPrestege Posted April 11, 2013 Author Share Posted April 11, 2013 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
iPrestege Posted April 11, 2013 Author Share Posted April 11, 2013 Need help in the faster time . Link to comment
Castillo Posted April 11, 2013 Share Posted April 11, 2013 That's right, since the time that displays on "banlist.xml" is the timestamp. Link to comment
iPrestege Posted April 11, 2013 Author Share Posted April 11, 2013 That's right, since the time that displays on "banlist.xml" is the timestamp. Thank You Man Yes it is . Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now