SA-MP Forums Archive
Creating a mask system? - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Creating a mask system? (/showthread.php?tid=190831)



Creating a mask system? - patfay - 16.11.2010

Hello, I need to figure out how to create a mask system.
For example, You got to a 24/7 and buy a mask.
You can type /mask and you put on a mask, But if you just do /mask it will say 'SYNTAX: /mask [mask] [Bandana] [Glasses]'
If you type /mask mask it will say 'Masked: Mask ((RANDOM ID))
Same with /mask Bandana except instead of Mask it will say Bandana 'Masked: Bandana ((RANDOM ID))
Example on how it would show in game: Masked: Mask ((192))
And so on with the same things.

Note: When you put on a /mask it replaces your name with the mask.


Re: Creating a mask system? - Steven82 - 16.11.2010

This is in the GodFather or some relatded scripts. Just look in there since all new rp's use either godfather edit scripts or GodFather features.