Yoko

All sides of Injection
It is currently 2024-03-29 15:30:49

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Где грабли?
PostPosted: 2004-04-10 09:19:47 
Offline

Joined: 2004-04-09 21:23:08
Posts: 3
Если делаю так:
Code:
i=UO.GetMaxHP('0x00080B59')
j=UO.GetHP('0x00080B59')
k= (j/i)

то все хорошо, но если пишу так:
Code:
k=(Int(UO.GetHP('0x00080B59'))/Int(UO.GetMaxHP('0x00080B59')))

или так
Code:
k=(UO.GetHP('0x00080B59')/UO.GetMaxHP('0x00080B59'))


то получаю error. Собственно сабж...


Top
   
 Post subject:
PostPosted: 2004-04-12 20:36:33 
Offline
User avatar

Joined: 2004-04-09 02:56:03
Posts: 5
Location: GMT+3 [MSK]
...может инжа не могет одновременно два свойства вытягивать?


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 19 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited