Yoko

All sides of Injection
It is currently 2026-03-14 13:24:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: gethp not working
PostPosted: 2004-07-28 09:35:36 
Offline

Joined: 2004-07-20 18:57:51
Posts: 8
the function uo.GetHP() can´t seem to work....
i defined an object "dude" for my sparring dude at the objects tab, but teh code:
Code:

Code:
var x = 0 
x = uo.gethp("dude")
uo.print(str(x))



prints only 0´s to client

what am i doing wrong?


Top
   
 Post subject:
PostPosted: 2004-07-28 22:40:00 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
Track World in Main tab


Top
   
 Post subject:
PostPosted: 2004-07-29 01:28:04 
Offline

Joined: 2004-07-20 18:57:51
Posts: 8
didn´t work....

is it right the method of calling the uo.GetHP() function?

if i put any string ie. uo.getHP("gewgegegege")
it returns 0 anyway.

how do i pass objects correctly to it?


Top
   
 Post subject:
PostPosted: 2004-07-29 23:00:01 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
supermudo wrote:
didn?t work....

is it right the method of calling the uo.GetHP() function?

if i put any string ie. uo.getHP("gewgegegege")
it returns 0 anyway.

how do i pass objects correctly to it?


you will get health of object gewgegegege defined in objects tab


Top
   
 Post subject:
PostPosted: 2004-07-30 08:21:19 
Offline

Joined: 2004-07-20 18:57:51
Posts: 8
it realy doesn´t work, my dll is from Build 305.01
maybe it has any bug on gethp?


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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