Raised This Month: $51 Target: $400
 12% 

Fast ChangeTeam v1.8


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ilga80
Senior Member
Join Date: Nov 2012
Plugin ID:
3511
Plugin Version:
1.8beta
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fast change your team
    Old 02-03-2013 , 21:28   Fast ChangeTeam v1.8
    Reply With Quote #1

    Fast ChangeTeam v1.8
    Description:
    If you write to the chat:
    PHP Code:
    !t
    !ct
    !spec 
    You thrown to the appropriate team
    For command !ct you can set the immunity (that there was an imbalance on jail servers)

    Requirements:
    Sourcemod

    Cvars:
    PHP Code:
    sm_fst_enable 1/0//enable/disable plugin
    sm_fst_advert "1/0"//enable/disable information of commands
    sm_fst_msg "1/0"//enable/disable information of team changes
    sm_fst_admflag "b"//set admin immunity, 0=disable, flags: a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t 
    Update log
    Code:
    1.0 out plugin
    1.1 RegConsoleCmd replaced by AddCommandListener
    1.2 Added ROOT flag for the team !ct (that there was an imbalance on jail servers)
    1.3 Simplifying the code. Added team change without losing frags.
    1.4 Added file transfer
    1.5 Added config, the opportunity to immunity for the administrator through configuration, sound playing ban, information on available commands, support for colors in the 34 version, and CS: GO
    1.6 Added cvar disable the plug. Translation files en & ru separated. Cvars renamed
    Now 
    1.7 kvar mp_limitteams considered.
    1.8beta deleted morecolors, complication of code

    P.S.Sorry for my bad inglish. It is google translate
    Attached Files
    File Type: zip FST_1.8.zip (9.5 KB, 276 views)
    File Type: sp Get Plugin or Get Source (FST.sp - 899 views - 5.6 KB)
    File Type: cfg fast_changeteam.cfg (898 Bytes, 361 views)
    File Type: txt fast_changeteam.phrases.txt (737 Bytes, 361 views)

    Last edited by ilga80; 03-09-2013 at 01:58. Reason: new version
    ilga80 is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 02-03-2013 , 22:16   Re: Fast ChangeTeam v1.7
    Reply With Quote #2

    FYI, these two plugins already exist, and pretty much do the same thing:

    TeamChange
    TeamChange Unlimited

    As for your code, you have a convar for admin flags, but a better way would be to use CheckCommandAccess.
    __________________

    Last edited by Sheepdude; 02-05-2013 at 06:25.
    Sheepdude is offline
    ilga80
    Senior Member
    Join Date: Nov 2012
    Old 02-03-2013 , 22:28   Re: Fast ChangeTeam v1.7
    Reply With Quote #3

    Ok.I uploaded v75&csgo archive. This is my first plugin. Administrator immunity is works. I checked it on my server.

    Last edited by ilga80; 02-04-2013 at 02:55.
    ilga80 is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 02-05-2013 , 05:01   Re: Fast ChangeTeam v1.7
    Reply With Quote #4

    Nice plugin you've done... but why you are using say command argument instead of console variables? in CS:GO you cant change team using this plugin because VGUI panels (overview, change team) is not allowing to use say/say_team commands. If you will use RegConsoleCmd instead, it will be way faster (because currently plugin is checking every 'say' command argument)
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    ilga80
    Senior Member
    Join Date: Nov 2012
    Old 02-05-2013 , 06:13   Re: Fast ChangeTeam v1.7
    Reply With Quote #5

    Root_, I do it so, that to ignore the case sensitive. I tested it in CS:GO. It works very well!

    Last edited by ilga80; 02-05-2013 at 06:13.
    ilga80 is offline
    AlfredSpain
    Senior Member
    Join Date: Oct 2010
    Old 02-07-2013 , 09:05   Re: Fast ChangeTeam v1.7
    Reply With Quote #6

    hi! nice plugin, pls add this cvar for use the plugin only for admins

    sm_fst_ct_admflag
    sm_fst_t_admflag
    sm_fst_spec_admflag
    AlfredSpain is offline
    ilga80
    Senior Member
    Join Date: Nov 2012
    Old 02-09-2013 , 06:35   Re: Fast ChangeTeam v1.7
    Reply With Quote #7

    Quote:
    Originally Posted by AlfredSpain View Post
    hi! nice plugin, pls add this cvar for use the plugin only for admins

    sm_fst_ct_admflag
    sm_fst_t_admflag
    sm_fst_spec_admflag
    I do not want to copy other plugin. I made this plugin counting on jail.The idea to make this plugin of my own
    ilga80 is offline
    AlfredSpain
    Senior Member
    Join Date: Oct 2010
    Old 02-09-2013 , 06:44   Re: Fast ChangeTeam v1.7
    Reply With Quote #8

    Quote:
    Originally Posted by ilga80 View Post
    I do not want to copy other plugin. I made this plugin counting on jail.The idea to make this plugin of my own
    ok, thx;)

    What plugin has these similar features?

    Last edited by AlfredSpain; 02-09-2013 at 06:45.
    AlfredSpain is offline
    AlfredSpain
    Senior Member
    Join Date: Oct 2010
    Old 02-09-2013 , 06:45   Re: Fast ChangeTeam v1.7
    Reply With Quote #9

    trash

    Last edited by AlfredSpain; 02-09-2013 at 06:45.
    AlfredSpain is offline
    ilga80
    Senior Member
    Join Date: Nov 2012
    Old 03-09-2013 , 01:03   Re: Fast ChangeTeam v1.8
    Reply With Quote #10

    New version
    Code:
    1.8beta deleted morecolors, complication of code
    ilga80 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 02:19.


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