[FilterScript] Green Health Bar system (advanced)
#1

So, I've made a simple health bar's color, it changed to green with a decoration.

Introdution:
This is my 1st release of filterscript, I hope peoples dont go harm on me.

It's basically health bar modification of me, the color is green.

Download:
PWN/AMX:
https://www.mediafire.com/?xy8bhmmsc1cispi

Please leave comments, so I can learn more.

Instruction:
After you have downloaded the file, place the .pwn and .amx in your filterscript folder
go to server.cfg,and go to the ''filterscript'' line, add HealthBar next to it,

Код:
filterscript HealthBar
save the server.cfg and run your server again, then login to see the healthbar
Reply
#2

Can we please see some screenshots?
Reply
#3

I believe, I am in the weeks of business, so it should be a ''no'', just try it yourself.

added tutorial on how to use it.
Reply
#4

pawn Код:
public OnFilterScriptInit()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            OnPlayerConnect(i);
        }
    }
    return 1;
}
What is this?
Reply
#5

to define if the player connect, the healthbar appeard.

the OnPlayerConnect(i) contains the public of OnPlayerConnect, which I filled with the healthbar stuffs.
Reply
#6

Quote:
Originally Posted by Equuuuin0X
Посмотреть сообщение
to define if the player connect, the healthbar appeard.

the OnPlayerConnect(i) contains the public of OnPlayerConnect, which I filled with the healthbar stuffs.
But when player connects you already create the textdraw, you don't need this code.
Reply
#7

well, I made it just to make sure the textdraw will be appeard, it doesnt really nessecary, but up to you if you'd like to use it or not.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)