[Include] Visible NPC HP 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] Visible NPC HP Bar (
/showthread.php?tid=632664)
Visible NPC HP Bar -
AbyssMorgan - 17.04.2017
This include allowing to enable/disable NPC HP + Nick Bars
Screens:
http://i.imgur.com/LtgnZPq.png
http://i.imgur.com/LniBwXm.png
Functions:
PHP Code:
ShowNPCInTabList(npcid);
HideNPCInTabList(npcid);
Issues:
- Sometimes, npc need respawn after visible toggling.
Notice:
- This function don't display an NPC on player list in SA:MP application.
Download:
vnpc.inc
YSF Plugin (REQUIRE)
Re: Visible NPC HP Bar -
JustMe.77 - 17.04.2017
THIS IS AWESOME!!!!!!
Can you make it possible with Actors aswell?
Re: Visible NPC HP Bar -
AbyssMorgan - 17.04.2017
Quote:
Originally Posted by JustMe.77
THIS IS AWESOME!!!!!!
Can you make it possible with Actors aswell?
|
This trick only working for players. For actor nick use 3DText Label.
Re: Visible NPC HP Bar -
coool - 17.04.2017
Very good.
Re: Visible NPC HP Bar -
Despacito - 17.04.2017
Good work but, what's the point of this if NPC's are invulnerable?
Re: Visible NPC HP Bar -
AbyssMorgan - 17.04.2017
Quote:
Originally Posted by Despacito
Good work but, what's the point of this if NPC's are invulnerable?
|
This is not for invulnerable npc.
Re: Visible NPC HP Bar -
Freaksken - 17.04.2017
Quote:
Originally Posted by Despacito
Good work but, what's the point of this if NPC's are invulnerable?
|
Take a look at the FCNPC plugin.
Re: Visible NPC HP Bar -
Blackaslan - 23.05.2017
For example if I Only want to see hp bar but I don't want that my bots appears on tab list , what I should do with the include or what line I need to change (thanks you it's nice anyways +1 )
Re: Visible NPC HP Bar -
AbyssMorgan - 23.05.2017
Quote:
Originally Posted by Blackaslan
For example if I Only want to see hp bar but I don't want that my bots appears on tab list , what I should do with the include or what line I need to change (thanks you it's nice anyways +1 )
|
Not possible
Re: Visible NPC HP Bar -
Blackaslan - 23.05.2017
Quote:
Originally Posted by AbyssMorgan
Not possible
|
Okey thanks you anyways for the include +1