View Single Post
  #9  
Old 06-28-2002, 12:22 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by faiola
all i want is to learn how to make a friggin thing that goes above somone's head and display's a hp status to all but i ended up wiht this



// NPC made by X.Draco.X
if (timeout) {
showimg 2,@#v(playerhearts*1255)/#v(playerfullhearts*1255),playerx-1.5,playery-2;
timeout = .05;
}
if (playerenters) {
timeout = .05;
}
if (created || timeout) {
showimg 1,@#v(playerhearts)/#v(playerfullhearts),playerx+.5,playery-2;
timeout = .05;
}
Done
Reply With Quote