SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 17/04/2017, 01:54 PM   #1
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Cool Visible NPC HP Bar

This include allowing to enable/disable FCNPC HP + Nick Bars

Screen:
https://i.imgur.com/BEyhX5d.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

Last edited by AbyssMorgan; 19/10/2019 at 04:38 PM.
AbyssMorgan is offline   Reply With Quote
Old 17/04/2017, 02:41 PM   #2
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 214
Reputation: 65
Default Re: Visible NPC HP Bar

THIS IS AWESOME!!!!!!
Can you make it possible with Actors aswell?
JustMe.77 is offline   Reply With Quote
Old 17/04/2017, 02:42 PM   #3
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Visible NPC HP Bar

Quote:
Originally Posted by JustMe.77 View Post
THIS IS AWESOME!!!!!!
Can you make it possible with Actors aswell?
This trick only working for players. For actor nick use 3DText Label.
AbyssMorgan is offline   Reply With Quote
Old 17/04/2017, 03:58 PM   #4
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 602
Reputation: 54
Default Re: Visible NPC HP Bar

Very good.
__________________
coool is offline   Reply With Quote
Old 17/04/2017, 08:38 PM   #5
Despacito
Big Clucker
 
Join Date: Apr 2017
Posts: 63
Reputation: 1
Default Re: Visible NPC HP Bar

Good work but, what's the point of this if NPC's are invulnerable?
Despacito is offline   Reply With Quote
Old 17/04/2017, 08:42 PM   #6
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Visible NPC HP Bar

Quote:
Originally Posted by Despacito View Post
Good work but, what's the point of this if NPC's are invulnerable?
This is not for invulnerable npc.
AbyssMorgan is offline   Reply With Quote
Old 17/04/2017, 08:43 PM   #7
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 501
Reputation: 367
Default Re: Visible NPC HP Bar

Quote:
Originally Posted by Despacito View Post
Good work but, what's the point of this if NPC's are invulnerable?
Take a look at the FCNPC plugin.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 23/05/2017, 02:54 AM   #8
Blackaslan
Big Clucker
 
Blackaslan's Avatar
 
Join Date: Oct 2014
Location: CHILE <3
Posts: 177
Reputation: 9
Default Re: Visible NPC HP Bar

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 )
__________________
Black Lagoon RPG

Lsa Zombie apocalypse is back with bots !
Blackaslan is offline   Reply With Quote
Old 23/05/2017, 06:29 AM   #9
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Visible NPC HP Bar

Quote:
Originally Posted by Blackaslan View Post
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
AbyssMorgan is offline   Reply With Quote
Old 23/05/2017, 07:03 AM   #10
Blackaslan
Big Clucker
 
Blackaslan's Avatar
 
Join Date: Oct 2014
Location: CHILE <3
Posts: 177
Reputation: 9
Default Re: Visible NPC HP Bar

Quote:
Originally Posted by AbyssMorgan View Post
Not possible
Okey thanks you anyways for the include +1
__________________
Black Lagoon RPG

Lsa Zombie apocalypse is back with bots !
Blackaslan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visible to only one player? ajwar Scripting Help 1 18/02/2014 10:46 AM
My server is once visible and once not. Libra_PL Server Support 8 02/08/2013 04:56 PM
need object which isn't visible rati555 Scripting Help 2 08/03/2012 04:24 PM
CP is not visible BlackWolf120 Help Archive 2 08/01/2011 03:03 PM
NPC's not visible Jason_Larson Help Archive 21 15/10/2009 10:00 AM


All times are GMT. The time now is 07:17 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.