Yoko

All sides of Injection
It is currently 2025-12-23 15:46:47

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2006-02-28 06:11:21 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
Хочу разобраться как пользоватся таймером...
Написал тестовый скриптик:
Code:
sub main()
uo.Timer()
while true
wait(1000)
uo.say(str(uo.Timer()))
wend
end sub

Почему-то он выводит очень странные циферки:
90059
90069
...

Хотелось бы чтоб было чтото вроде 10, 20, 30, ....
Объясните, пожалуйста, начинающему как пользоватся таймером... :oops:


Top
   
PostPosted: 2006-02-28 08:19:02 
Offline

Joined: 2006-02-03 06:53:36
Posts: 64
Code:
sub main()
var n = uo.Timer()
while true
wait(1000)
uo.say(str(uo.Timer()-n))
wend
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited