Snu
YEAAHHHHHHHHH
Hey, after a lot of fixing, I finally finished, RESTRICT Skins!
Basically, it restricts skins from being used, and if you used the restricted skin on the certain gametype (Or any!) you may meet a terrible end...
On default the restricted skin is set to Knuckles, and it is restricted on Co-op and Race, but these can be changed!
This is perfect for servers! Also intended for servers. :)
Read this...
Special Thanks to all the people that helped.
Enjoy!
What does Restrict Skins do?!
Basically, it restricts skins from being used, and if you used the restricted skin on the certain gametype (Or any!) you may meet a terrible end...
On default the restricted skin is set to Knuckles, and it is restricted on Co-op and Race, but these can be changed!
This is perfect for servers! Also intended for servers. :)
How do I change it to my liking?!
Read this...
1. If you dont want to restrict any gametype, delete ALL of line 3. If you do, read on...
These are the things you can use here.
GT_COOP == Co-op and Single Player
GT_COMPETITION == Competition and Classic Race
GT_MATCH == Match
GT_TEAMMATCH == Team Match
GT_TAG == Tag
GT_HIDEANDSEEK == Hide and Seek
GT_CTF == Capture the Flag
Add these, like so.
if (gametype == GT_COOP or gametype == GT_RACE or gametype == GT_MATCH)
2. Set what skin you want to restrict.
3. You change the character it says you was slaughtered for using, or completely change it!
4(Optional). You can change what it does to the player, but this is entirely optional.
These are the things you can use here.
GT_COOP == Co-op and Single Player
GT_COMPETITION == Competition and Classic Race
GT_MATCH == Match
GT_TEAMMATCH == Team Match
GT_TAG == Tag
GT_HIDEANDSEEK == Hide and Seek
GT_CTF == Capture the Flag
Add these, like so.
if (gametype == GT_COOP or gametype == GT_RACE or gametype == GT_MATCH)
2. Set what skin you want to restrict.
3. You change the character it says you was slaughtered for using, or completely change it!
4(Optional). You can change what it does to the player, but this is entirely optional.
Special Thanks to all the people that helped.
Enjoy!
Attachments
Last edited: