Green Health Bar system (advanced) -
Equuuuin0X - 26.01.2014
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
Re: Green Health Bar system (advanced) -
itsCody - 26.01.2014
Can we please see some screenshots?
Re: Green Health Bar system (advanced) -
Equuuuin0X - 26.01.2014
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.
Re: Green Health Bar system (advanced) -
Cypress - 26.01.2014
pawn Код:
public OnFilterScriptInit()
{
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
OnPlayerConnect(i);
}
}
return 1;
}
What is this?
Re: Green Health Bar system (advanced) -
Equuuuin0X - 26.01.2014
to define if the player connect, the healthbar appeard.
the OnPlayerConnect(i) contains the public of OnPlayerConnect, which I filled with the healthbar stuffs.
Re: Green Health Bar system (advanced) -
Cypress - 26.01.2014
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.
Re: Green Health Bar system (advanced) -
Equuuuin0X - 26.01.2014
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.