health bar
#1

i download this filterscript

https://sampforum.blast.hk/showthread.php?tid=156328

it work this filterscript but it cannot work when i have this include when i add on my gamemode

https://sampforum.blast.hk/showthread.php?tid=563387

how to fix this
Reply
#2

It's because Slices include uses a textdraw for the health bar and so does the other one. You can re-script the code in slices include to have colors if you wanted, but it'd make the other include useless.
Reply
#3

If you want to just change the solid color, because within slices the textdraw stays one solid color you would need to find this line in slices include

Код:
TextDrawBoxColor  (s_HealthBarBackground, 0x5A0C10FF);
and change the hex.

If you wanted it to change color depending on the players health you would need to recode slices code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)