SA-MP Forums Archive
[Include] Health-bar - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Health-bar (/showthread.php?tid=359423)



[INC] Health-bar - Correlli - 14.07.2012

What is this?
This is the bar for your health in-game, I got this idea from Project IGI 1 game:
http://game.watch.impress.co.jp/docs/20010312/igi10.jpg


Pictures:
/imageshack/img42/8784/healthbar1.png
/imageshack/img825/4831/healthbar2.png
/imageshack/img38/5455/healthbar3.png


How to install?
It's easy and simple - download and put the healthbar.inc into the \pawno\include\ folder.
Open your script and put this:
pawn Код:
#include <healthbar>
right after the
pawn Код:
#include <a_samp>
Compile your script and you're done.


Download:
http://www.solidfiles.com/d/f3b5b59f59
Pastebin link: http://pastebin.ca/2170780


Re: Health-bar - Lorenc_ - 14.07.2012

Hahaha, nice job!


Re: Health-bar - The__ - 14.07.2012

Looks neat, nice.


Re: Health-bar - Jochemd - 14.07.2012

Looks cool and well scripted!


Re: Health-bar - Hiddos - 14.07.2012

Pretty nice, although I'd use a textdraw box with 50% opacity and shrink it when the player loses health.

Nevertheless, good job!


Re: Health-bar - TheArcher - 14.07.2012

Nice the body in the screen corner .