Yoko

All sides of Injection
It is currently 2025-12-19 11:28:06

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2005-08-15 21:37:23 
Offline
User avatar

Joined: 2005-01-13 07:20:54
Posts: 528
я тут запарился в какойто фигне ошибка немогу понять вот простой скрипт который выдает отношение макс хп к хп ласт таргета
Code:
sub getlasthp()
   var hp
   var maxhp
   hp = ((uo.GetHP("lasttarget"))*100)
   maxhp = uo.GetMaxHP("lasttarget")
   hp =hp/maxhp
   wait(200)
    uo.print("hp " +str(hp))
end sub


ошоибка Unhandled exception in parser
причем если уберу или гет макс хп или гет хп то без ошибки.


Top
   
 Post subject:
PostPosted: 2005-08-16 16:16:04 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
проверь maxhp на ноль


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