L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help convert time to code
Author Message
itallog Offline
Expired VIP Member
**

Posts: 13
Joined: Mar 2012
Reputation: 0
Version: 1.4.3.143
Post: #1
Question Help convert time to code

I wonder how do to convert the time to code l2tower script, example: sleep(60 * 1000 * 60)
10-26-2014 05:45 AM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,640
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #2
RE: Help convert time to code

60 x 1000ms x 60 = 1h


G2A is a fantastic web-store where you can buy games cheap (40%+ Discounts!)
[Image: uaFndGu.gif]
10-26-2014 11:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
itallog Offline
Expired VIP Member
**

Posts: 13
Joined: Mar 2012
Reputation: 0
Version: 1.4.3.143
Post: #3
RE: Help convert time to code

Oh ok,thank you, i want to know in minutes, exemple: 5 minutes, 4 minutes, 3 minutes.
10-26-2014 16:18 PM
Find all posts by this user Quote this message in a reply
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #4
RE: Help convert time to code

(10-26-2014 16:18 PM)itallog Wrote:  Oh ok,thank you, i want to know in minutes, exemple: 5 minutes, 4 minutes, 3 minutes.

You Allways do the same count.. from 1 second

Sleep(1000) -- 1 sec
Sleep(30*1000) -- 30 sec
Sleep(60*1000) -- 1 min
Sleep(5*60*1000) -- 5 min
Sleep(30*60*1000) -- 30 min
(This post was last modified: 10-26-2014 17:28 PM by rORUMI.)
10-26-2014 17:27 PM
Find all posts by this user Quote this message in a reply
itallog Offline
Expired VIP Member
**

Posts: 13
Joined: Mar 2012
Reputation: 0
Version: 1.4.3.143
Post: #5
RE: Help convert time to code

(10-26-2014 17:27 PM)rORUMI Wrote:  
(10-26-2014 16:18 PM)itallog Wrote:  Oh ok,thank you, i want to know in minutes, exemple: 5 minutes, 4 minutes, 3 minutes.

You Allways do the same count.. from 1 second

Sleep(1000) -- 1 sec
Sleep(30*1000) -- 30 sec
Sleep(60*1000) -- 1 min
Sleep(5*60*1000) -- 5 min
Sleep(30*60*1000) -- 30 min

Great, Thank you!
10-27-2014 17:55 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  L2 Speak npc Same time than Spawn fastkill22 0 1,149 01-26-2019 02:12 AM
Last Post: fastkill22
  time for dollars on acc scorpiox 0 1,319 11-20-2016 07:47 AM
Last Post: scorpiox
  Running some servers with L2t injected and innova the same time. testforl2 0 1,654 12-29-2015 14:56 PM
Last Post: testforl2
F.A.Q. L2Tower Stuck and work all time teris19942 0 2,056 12-15-2015 23:38 PM
Last Post: teris19942
  help pls time code lucasdrag 4 3,180 11-18-2015 22:33 PM
Last Post: TheQQmaster
  premium license activation time Louna 1 2,519 10-05-2015 18:58 PM
Last Post: Fox
  buff time use powercheats 1 2,536 04-20-2015 20:38 PM
Last Post: plixplox
  How many accounts are people running at the same time lawner01 1 1,714 12-20-2014 06:52 AM
Last Post: soul2eat
  Mark Of Lumi Healer One Time ronycontreras 6 3,141 11-07-2014 19:06 PM
Last Post: soul2eat
  Best performance with code in Plugin than Script? rORUMI 2 2,275 09-14-2014 02:24 AM
Last Post: rORUMI



User(s) browsing this thread: 1 Guest(s)