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

[Any] Spectator Group Targeting @spec @unassigned


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2882
Plugin Version:
1.0.1
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    25 
    Plugin Description:
    Allows admins to group-target spectators.
    Old 04-06-2012 , 07:40   [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #1

    [Any] Spectator Group Targeting
    Version 1.0.1


    Description:
    Allows admins to target spectators, unassigned players, or both using 3 new group targets.
    Target Specifiers:
    • @spec
      • All players who have joined the spectator team.
    • @unassigned
      • Players who have not joined any team (may include connecting players).
    • @notonteams
      • All the above.

    Cvars:
    • sm_spec_target_version
      • Plugin Version

    Install Instructions:

    1. Place SpectatorTarget.smx into your addons/sourcemod/plugins/ folder.

    Usage:
    In any command where you can use group targeting (eg, @all), you will be able to use @spec, etc.
    Example: 'sm_kick @spec' would kick all players in spectate.

    Version History:
    • V1.0.0
      • Initial Release
    • V1.0.1
      • Now ignores SourceTV/Replay bots.
    Total downloads as prior to last edit: 40
    Attached Files
    File Type: sp Get Plugin or Get Source (SpectatorTarget.sp - 1604 views - 1.7 KB)
    __________________

    Last edited by DarthNinja; 04-17-2012 at 21:18.
    DarthNinja is offline
    ecca
    Sexy Santa
    Join Date: Jan 2011
    Old 04-06-2012 , 08:51   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #2

    Hehe nice one darth
    ecca is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 04-07-2012 , 21:58   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #3

    Wow, such a function existed. (refering to AddMultiTargetFilter)
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 04-07-2012 at 22:03.
    RedSword is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 04-07-2012 , 22:16   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #4

    It's fairly new.
    __________________
    DarthNinja is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 04-08-2012 , 00:27   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #5

    Quote:
    Originally Posted by DarthNinja View Post
    It's fairly new.
    http://wiki.alliedmods.net/SourceMod_1.4.0_API_Changes for more information (if someone wonder how he got that).
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 04-08-2012 , 00:59   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #6

    That's not how I knew about it, but yeah, that is when it was added.

    __________________
    DarthNinja is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 04-08-2012 , 01:06   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #7

    Quote:
    Originally Posted by DarthNinja View Post
    That's not how I knew about it, but yeah, that is when it was added.
    Then how ?
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 04-17-2012 , 20:41   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #8

    Any chance you can add an option to leave replay out of this?
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 04-17-2012 , 21:19   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #9

    Quote:
    Originally Posted by FlaminSarge View Post
    Any chance you can add an option to leave replay out of this?
    Done
    __________________
    DarthNinja is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 04-18-2012 , 12:34   Re: [Any] Spectator Group Targeting @spec @unassigned
    Reply With Quote #10

    Quote:
    Originally Posted by RedSword View Post
    Wow, such a function existed. (refering to AddMultiTargetFilter)
    The same exact thing applies to me, I feel like an idiot now
    Thanks for the example, DN.
    __________________
    napalm00 is offline
    Reply


    Thread Tools
    Display Modes

    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 17:26.


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