Description
Allows you to set a clan tag and print a message to a player if they use your clan tag or not, by specific on convar that automatically create itself later after launch a server.
Current Version : Release 1.1.0
Update Log
Quote:
Version 1.0.0
- First Released on my github
Version 1.0.1
- Fixed to get rid of client index is not valid
Version 1.1.0
- Fixed the multiple messages
- Add a timer to show a message when a player joins the server
|
I currently run my own Zombie Escape server with Shop plugin from hlmod.ru And wrote a plugin to multiply credit if they use my server clan tag. but the problem is it cannot notice people that if they use a specific clan tag or not. So that why I wrote this plugin.
Useful for store plugin. but remember, this is just a detector.
Convar
Code:
sm_clantag_detect "[SM]" "Specific the clantag that you want to print message to them."
sm_clantag_join_delay "3.0" "Specific time to show message when player join into the server
Available on github :
https://github.com/oylsister/CSGO-Clantag-Detector
If you want to change a message that prints to the players, you have to edit this line
PHP Code:
if(StrEqual(clienttag, SpecificClanTag, false))
{
PrintToChat(client, "You currently using %s Tag, You will get extra credits while playing on our server, have fun!.", SpecificClanTag);
}
else
{
PrintToChat(client, "You currently using %s Tag, Change your Clantag to %s and get extra credits!", clienttag, SpecificClanTag);
}
Feel free to edit this and make it more advanced, if you want. This is my first plugin if there is anything you want to suggest me, please do it!