Raised This Month: $32 Target: $400
 8% 

[CS:GO/CS:S?] Simple ClanTag Detector


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Plugin ID:
6941
Plugin Version:
1.1.0
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you to set a clanTag and print a message to a player if they use your clantag or not
    Old 02-11-2020 , 06:04   [CS:GO/CS:S?] Simple ClanTag Detector
    Reply With Quote #1

    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(clienttagSpecificClanTagfalse))
                {
                    
    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!"clienttagSpecificClanTag);
                } 

    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!
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_simple_clantag_detector.sp - 236 views - 3.0 KB)
    File Type: smx sm_simple_clantag_detector.smx (12.5 KB, 197 views)

    Last edited by Oylsister; 02-11-2020 at 10:27. Reason: Updated version
    Oylsister is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 19:50.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode