Thread: Health Bar
View Single Post
  #2  
Old 11-12-2008, 09:55 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by alexandralove View Post
If it's your own server then try to script a complete health system / hire a scripter

If it's a server like Unholy Nation / Classic then just go in Graal/levels/images then just edit the image called state.png (should always be in the bottom of your files)
If it's just replacing states.png, then you could use setstatusimage().
Example:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
setstatusimage("newstate.png");

However, if you want an actual health bar, then that requires a more complex script. Sadly, this isn't a place where you could request full scripts. This is the code gallery, and only meant for showcasing complete scripts of your own.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote