open.mp forum
[Library] vnpc (Visible FCNPC HP Bar) - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
---- Forum: Libraries (https://forum.open.mp/forumdisplay.php?fid=31)
---- Thread: [Library] vnpc (Visible FCNPC HP Bar) (/showthread.php?tid=1907)



vnpc (Visible FCNPC HP Bar) - AbyssMorgan - 2021-04-18

This include allowing to enable/disable FCNPC HP Nick Bars



Screen:

https://i.imgur.com/BEyhX5d.png



Functions:

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


RE: vnpc (Visible FCNPC HP Bar) - PutuSuhartawan - 2021-04-24

Very good. sir I'm sorry. did the NPC id important need change not from create NPC function from a_npc include?


RE: vnpc (Visible FCNPC HP Bar) - Awide - 2021-04-25

Doesn't this just solely use FCNPC_ShowInTabListForPlayer?


RE: vnpc (Visible FCNPC HP Bar) - AbyssMorgan - 2021-04-25

Is only for FCNPC


RE: vnpc (Visible FCNPC HP Bar) - Dobby - 2021-04-25

Considered using Github? How about looping through players properly?


RE: vnpc (Visible FCNPC HP Bar) - Awide - 2021-04-26

(2021-04-25, 08:25 PM)AbyssMorgan Wrote: Is only for FCNPC



Are the NPCs appearing in the tablist?


RE: vnpc (Visible FCNPC HP Bar) - AbyssMorgan - 2021-04-27

(2021-04-25, 11:14 PM)Dobby Wrote: Considered using Github? How about looping through players properly?



https://github.com/AbyssMorgan/SAMP



What you mean about looping ?



(2021-04-26, 10:50 AM)Awide Wrote:
(2021-04-25, 08:25 PM)AbyssMorgan Wrote: Is only for FCNPC



Are the NPCs appearing in the tablist?



Yes, but only in game