View Single Post
Author Message
will2tango
Member
Join Date: Nov 2009
Location: England
Old 06-12-2013 , 06:08   [ZPS] Team Target
Reply With Quote #1

For some source games Sourcemod has built in targeting groups for admins to target whole teams, eg Counter Strike: Source has @ct to target all counter terrorists and @t to target all terrorists.

This plugin allows admins to use @st to target all survivors, @zt to target all zombies and @ready to target everyone in the ready room when using their admin commands in Zombie Panic: Source.


Examples:
sm_slay @st - Slay all Survivors
sm_beacon @zt - Beacon all Zombies
sm_kick @ready - Kick all players in the Ready Room (not on a Team or Spec)

CVARs:
zps_target_version - current version

Comments:
Thanks to ReFlexPoison for demonstrating how to use AddMultiTargetFilter properly, until now I had never managed to get this working properly.

Change Log:
1.00 Release
Attached Files
File Type: sp Get Plugin or Get Source (zpstarget.sp - 826 views - 1.4 KB)
__________________

Last edited by will2tango; 06-12-2013 at 06:10.
will2tango is offline