[Include] nametags.inc - basic custom nametags - 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] nametags.inc - basic custom nametags (
/showthread.php?tid=660236)
nametags.inc - basic custom nametags -
Infin1ty - 28.10.2018
nametags.inc - basic custom nametags
nametags.inc was written to be used with my script. I decided to release it just because I could - besides, it was completely independent of the script and could function without it, so why not?
It's like the normal SAMP nametag, just using a 3d text label instead. This does not eliminate the underscore from a player's name.
Dependencies:
Notes:- If you are already setting the player's color to -1 under OnPlayerConnect OR you're using fixes.inc you can get rid of lines 85 - 90.
- If you want to modify the draw distance for the nametags you can define NT_DISTANCE in your script with a value below or greater than 20.0 before you include nametags.inc.
- You should probably include this after all the dependencies.
- You can work on this and modify it as you wish. Just keep the credits in, will you?

- Excuse my pretty shit thread, its my first time releasing something - even though I've been developing for around 2 years now.
Downloads:
GitHub
Re: nametags.inc - basic custom nametags -
iFoxTheRoleplayer - 28.10.2018
Nice, rep + xx
Re: nametags.inc - basic custom nametags -
Infin1ty - 28.10.2018
Update v0.2:- Got rid of the need for the strlib dependency.
- Got rid of the need for foreach.
- Script no longer destroys the nametags under OnGameModeExit as Streamer already does that (thanks TommyB!)
Re: nametags.inc - basic custom nametags -
waysemir - 29.10.2018
Is it disappear?
Re: nametags.inc - basic custom nametags -
waysemir - 29.10.2018
Any screenshot?
Re: nametags.inc - basic custom nametags -
BigETI - 29.10.2018
not a sampctl package REEEEEEEEEE
Re: nametags.inc - basic custom nametags -
CantBeJohn - 29.10.2018
You should update the GitHub's readme since you removed strlib and foreach as dependencies.
Re: nametags.inc - basic custom nametags -
Mellnik - 29.10.2018
All this does is creating a text label.
Re: nametags.inc - basic custom nametags -
Infin1ty - 10.03.2019
Quote:
Originally Posted by waysemir
Is it disappear?
|
Wdym
Quote:
Originally Posted by BigETI
not a sampctl package REEEEEEEEEE
|
Not fond of sampctl, sorry.
Quote:
Originally Posted by CantBeJohn
You should update the GitHub's readme since you removed strlib and foreach as dependencies.
|
Thanks for reminding me, if you could open up a issue on GitHub that would be nice otherwise whenever I get around to it I will do.
Quote:
Originally Posted by Mellnik
All this does is creating a text label.
|
Thanks for stating the obvious?
Quote:
Originally Posted by willbedie
wow cool friend
|
thank men

ray:
Quote:
Originally Posted by JackDeen
|
This is meant to be relatively RCRP-esque (sorry TomB!)
It wasn't. I wrote it from scratch. To be honest, most nametag scripts are similar because they all use similar principles.
Re: nametags.inc - basic custom nametags -
IdonTmiss - 03.04.2019
You should update the y_hooks with ALS hooking for people that don't want to load YSI, since I see u're still updating this