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

[CS:GO] Fanzy's Chat Trigger to change Team Names and Flags (v1.0.1, 2014-09-25)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
fanzy
Junior Member
Join Date: Mar 2014
Location: Singapore
Plugin ID:
4367
Plugin Version:
1.0.1
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugins helps people manage the team names and flags on Counter-Strike : Global Offensive
    Old 09-24-2014 , 18:19   [CS:GO] Fanzy's Chat Trigger to change Team Names and Flags (v1.0.1, 2014-09-25)
    Reply With Quote #1

    [CS:GO] Fanzy's Chat Trigger to change Team Names and Flags (v1.0.1, 2014-09-25)

    Made by Fanzy

    This plugins helps people manage the team names and flags on Counter-Strike : Global Offensive

    I made it easy so that people can use the chat to change both Counter-Terrorists and Terrorists through the chat instead of us changing it through console!

    Screenshot





    CVARs "Admin CVAR only"
    Code:
    sm_ctname, "Sets a team name for Counter-Terrorist, sm_ctname <ct name>"
    sm_ctflag, "Sets a team flag for Counter-Terrorist, sm_ctname <ct flag>"
    sm_tname, "Sets a team name for Terrorist, sm_ctflag <t name>"
    sm_tflag, "Sets a team flag for Terrorist, sm_ctname <t flag>"
    sm_resetnames, "Resets all current names for Terrorist and Counter-Terrorist"
    sm_resetflags, "Resets all current flags for Terrorist and Counter-Terrorist"
    sm_reset, "Resets all current names and flags for Terrorist and Counter-Terrorist"
    ChatAlias
    Code:
    !ctname , "Sets a team name for Counter-Terrorist, sm_ctname <ct name>
    !ctflag , "Sets a team flag for Counter-Terrorist, sm_ctname <ct flag>
    !tname , "Sets a team name for Terrorist, sm_ctflag <t name>
    !tflag , "Sets a team flag for Terrorist, sm_ctname <t flag>
    !resetnames, "Resets all current names for Terrorist and Counter-Terrorist"
    !resetflags, "Resets all current flags for Terrorist and Counter-Terrorist"
    !reset, "Resets all current names and flags for Terrorist and Counter-Terrorist"
    Features
    - Change Team Name for CT & T
    - Change Team Flag Name
    - Ability to reset both Team Name and Flag or just seperately



    How to choose flag
    - Flag has to follow country codes that are 2 characters long
    - Here are a list of country codes that you can find from http://countrycode.org/



    Download
    Attached Files
    File Type: smx fanzytnf.smx (4.1 KB, 1764 views)
    File Type: sp Get Plugin or Get Source (fanzytnf.sp - 1546 views - 3.4 KB)

    Last edited by fanzy; 09-24-2014 at 22:14. Reason: Clean up
    fanzy is offline
    Maxximou5
    AlliedModders Donor
    Join Date: Feb 2013
    Old 09-24-2014 , 18:41   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #2

    Would love to try it out, but can't till you release the source code.
    Maxximou5 is offline
    boombee
    SourceMod Donor
    Join Date: Nov 2013
    Old 09-24-2014 , 18:56   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #3

    Not sure, but I'm pretty confident that you cant post plugins without the code.
    boombee is offline
    Peace-Maker
    SourceMod Plugin Approver
    Join Date: Aug 2008
    Location: Germany
    Old 09-24-2014 , 19:09   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #4

    Please attach the .sp
    __________________
    Peace-Maker is offline
    fanzy
    Junior Member
    Join Date: Mar 2014
    Location: Singapore
    Old 09-24-2014 , 20:55   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #5

    Quote:
    Originally Posted by Peace-Maker View Post
    Please attach the .sp
    .sp has been attached
    fanzy is offline
    Peace-Maker
    SourceMod Plugin Approver
    Join Date: Aug 2008
    Location: Germany
    Old 09-24-2014 , 21:12   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #6

    Quote:
    Originally Posted by fanzy View Post
    .sp has been attached
    Thanks, please cleanup your includes though and attach any necassary custom ones.
    That fanzytnf include looks useless, you can just use PrintToChat. (also that MESSAGE_PREFIX define is wrong)
    __________________
    Peace-Maker is offline
    fanzy
    Junior Member
    Join Date: Mar 2014
    Location: Singapore
    Old 09-24-2014 , 21:25   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #7

    Quote:
    Originally Posted by Peace-Maker View Post
    Thanks, please cleanup your includes though and attach any necassary custom ones.
    That fanzytnf include looks useless, you can just use PrintToChat. (also that MESSAGE_PREFIX define is wrong)
    fanzytnf include was gonna allow me to add more features, but nevertheless, I have removed it and re-compiled everything. Thanks!
    fanzy is offline
    fanzy
    Junior Member
    Join Date: Mar 2014
    Location: Singapore
    Old 09-24-2014 , 21:43   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #8

    Quote:
    Originally Posted by Maxximou5 View Post
    Would love to try it out, but can't till you release the source code.
    Sourcecode released!!
    fanzy is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 09-25-2014 , 05:22   Re: [CS:GO] Fanzy's Chat Trigger Team Names and Flags (v1.0.0, 2014-09-25)
    Reply With Quote #9

    Quote:
    Originally Posted by fanzy View Post
    fanzytnf include was gonna allow me to add more features, but nevertheless, I have removed it and re-compiled everything. Thanks!
    Code:
    #include <protobuf>
    #include <sdktools>
    #include <geoip>
    #include <cstrike>
    #include <socket>
    #include <basecomm>
    Also useless.
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    0sama
    Junior Member
    Join Date: Oct 2011
    Location: Argentina
    Old 05-23-2015 , 19:46   Re: [CS:GO] Fanzy's Chat Trigger to change Team Names and Flags (v1.0.1, 2014-09-25)
    Reply With Quote #10

    Where are the flag folder? i possible to change flag for "team logos"?

    Greetings.
    __________________



    __Web_
    0sama 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:36.


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