• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] vnpc (Visible FCNPC HP Bar)
#1
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
  Reply
#2
Very good. sir I'm sorry. did the NPC id important need change not from create NPC function from a_npc include?
  Reply
#3
Doesn't this just solely use FCNPC_ShowInTabListForPlayer?
Check out Desolation Roleplay, where zombie AI and scavenging is bothered by player bandits!


  Reply
#4
Is only for FCNPC
  Reply
#5
Considered using Github? How about looping through players properly?
  Reply
#6
(2021-04-25, 08:25 PM)AbyssMorgan Wrote: Is only for FCNPC



Are the NPCs appearing in the tablist?
Check out Desolation Roleplay, where zombie AI and scavenging is bothered by player bandits!


  Reply
#7
(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
  Reply


Forum Jump: