SA-MP Forums Archive
[FilterScript] Simple Masking System. (With labels above head) - 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)
+--- Thread: [FilterScript] Simple Masking System. (With labels above head) (/showthread.php?tid=412524)



Simple Masking System. (With labels above head) - iGetty - 02.02.2013

Simple Masking System v1.0

What is it?
This is a simple masking system created by iGetty. This system
allows you to mask and hide your name from other players and will
also hide your name and show a label of "Masked Player_%d", where
the %d would be a random value that is assigned upon "/mask".

This will also automatically remove the mask when a player disconnects.
If a player dies with a mask on, they will then have the mask forcefully removed
and it will then show the players name tag again for all players.

There is also a name checking system that I implemented for people that may
want to use this in a game mode. They can use the following:

pMaskName(playerid), to check if the player is masked or not, if they are it will
return "Mask %d", if not it will return the actual player name.

The Commands:
/mask
/unmask
/removemask (RCON admin)

Extra Credits:
ZeeX for ZCMD.
Incognito for Streamer.
****** for sscanf2
SA-MP team for the ability to script for SA-MP and for the a_samp include.
iGetty for creating this filterscript.

Please don't remove any credits for this script as it was created for the SA-MP
community out of good will and I would appreciate it if you could at least be
respectful enough to keep them there.

Thank you for using the script.

iGetty.

Download:


http://pastebin.com/Bz2iy2tN


Extra

The only reason I have done something so simple is because of the fact that I have seen many people asking to see a mask system,
that has the name above the head.

Or just in general attaching a TextLabel to a player, making it follow them around, therefore I have created this as an example,
along with just being able to have a masking system.



Re: Simple Masking System. (With labels above head) - gaLB - 02.02.2013

Looks great.


Re: Simple Masking System. (With labels above head) - iGetty - 02.02.2013

Thank you gaLB.


Re: Simple Masking System. (With labels above head) - xDaidal0S - 02.02.2013

Great work !


Re: Simple Masking System. (With labels above head) - iGetty - 02.02.2013

Thank you mate.


Re: Simple Masking System. (With labels above head) - Shahjahan - 02.02.2013

nIce work Mate


Re: Simple Masking System. (With labels above head) - Peach - 02.02.2013

Very nice, for future updates if you do them.. add health and armour


Re: Simple Masking System. (With labels above head) - iGetty - 02.02.2013

Do you mean bar textlabels?


Re: Simple Masking System. (With labels above head) - zProfessional - 03.02.2013

Looks nice


Re: Simple Masking System. (With labels above head) - iGetty - 03.02.2013

Thanks.