[FilterScript] Player Labels (/pl - good for spectating and 3D player stats!)
#1

Player Labels

This is similar feature to /dl (a default system command by SA-MP to view all streamed vehicles statistics), but for players. The labels will display you statistics of the streamed players to you in a 3D text label attached to them.

This can be used while you are spectating. To disable labels on every player, you can also enable label for just a single player via
/pl <playerid/name>



Statistics included in labels:
Code:
[id, health, armour, ping, team, money, score, distance away from you, weapon name, weapon's ammo, interior id, virtual world id, position including facing angle]
Download
GitHub: https://github.com/Agneese-Saini/SA-...ts/plabels.pwn

Requirements
Sscanf2 Plugin: https://sampforum.blast.hk/showthread.php?tid=602923
Streamer Plugin: https://sampforum.blast.hk/showthread.php?tid=102865
Foreach Include: https://sampforum.blast.hk/showthread.php?tid=570868
I-ZCMD Include: https://sampforum.blast.hk/showthread.php?tid=576114
Reply
#2

That's very nice.

+REP
Reply
#3

Nice. I like the idea.

Just in case it might be useful to you, the hex color for the /dl text is 0x358BD4FF. So you can make the player labels the same color aswell.
Reply
#4

Wow, that's cool idea
REP+
Reply
#5

NICE, I like this one, simple and really good for spectating like you mentioned
Maybe you could add in when a player enters a car
the car health shows and car id etc
so that you dont need to do /dl
would be a nice feature when spectating
Reply
#6

Great Work Nice
Reply
#7

This could come in handy. Nice work.
Reply
#8

Nice job!
Reply
#9

Quote:
Originally Posted by SkyFlare
View Post
NICE, I like this one, simple and really good for spectating like you mentioned
Maybe you could add in when a player enters a car
the car health shows and car id etc
so that you dont need to do /dl
would be a nice feature when spectating
Thats not a good idea. You can always use /dl and /pl together(just ignore labels collapsing)!

Quote:
Originally Posted by Emmet_
View Post
Nice. I like the idea.

Just in case it might be useful to you, the hex color for the /dl text is 0x358BD4FF. So you can make the player labels the same color aswell.
No, i would be collapsing if the colors are same. BTW, i you can set it in LABEL_COLOR
Reply
#10

I think you missed something..
What if a new player connects ?
Reply
#11

Fixed that and a critical BUG, actually i never declared labels for multiple players. It was like when someone do /pl, it would work for only one player!

Re-download the new version!
Reply
#12

Very nice!
Reply
#13

I'm going to use this for sure! Thanks!
Reply
#14

I like it, well done.
Reply
#15

Nice job mate
Reply
#16

Quote:
Originally Posted by Gammix
View Post
Thats not a good idea. You can always use /dl and /pl together(just ignore labels collapsing)!
Alright then, do you mind if I use this for my server I am creating, I want to edit it quite a lot, just as a spectating feature, I want to put all the other things that are missed in as well.
Reply
#17

Quote:
Originally Posted by SkyFlare
View Post
Alright then, do you mind if I use this for my server I am creating, I want to edit it quite a lot, just as a spectating feature, I want to put all the other things that are missed in as well.
Its already open sourced (people release here for other people to use); Do your editing!
Reply
#18

does it show all player weapons ? at one time ?
Reply
#19

Quote:
Originally Posted by Vaishnav
Посмотреть сообщение
does it show all player weapons ? at one time ?
No, only the weapon player has in his/her hand.

BTW, If i had to display all weapons with their ammo, it would have been a long string and a long label (which will be annoying).
Reply
#20

Btw, just noticed IG... The US Dollar Sign, '$', goes before the amount of cash, not after.

Yours: 0$
IRL: $0.00
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)