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

(CS:S/Request) Spec CT Only for HnS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YoUrEnD
Member
Join Date: Nov 2015
Location: Germany
Old 01-16-2022 , 08:52   (CS:S/Request) Spec CT Only for HnS
Reply With Quote #1

I need a plugin for my Hide and Seek Server to prevent ghosting.

Players should only be able to spectate CT´s (T´s can only spec CT´s, CT´s can only spec CT´s and spectators can only spec CT´s)

maybe with an option that admins can spec T´s
__________________
Counter-Strike Source Server
https://high-devil-force.de
YoUrEnD is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 01-18-2022 , 16:44   Re: (CS:S/Request) Spec CT Only for HnS
Reply With Quote #2

Try the attached plugin. Only allows admins that are able to Kick players to spectate T's otherwise only CT's can be spectated.

If the round is not running it will allow anyone to spectate anyone.

No Commands or CVars.

Keep in mind that if you open the Spectator GUI it will still list T's because that list is build on the client side.

Attached SMX File is compiled with Sourcemod 1.11.

Installation:

DHooks is required or you could use SourceMod 1.11.6820 or higher.

Put cssctspec.smx into addons/sourcemod/plugins

Put cssctspec.games.txt into addons/sourcemod/gamedata

Get Plugin will fail because of the DHooks requirement
Attached Files
File Type: sp Get Plugin or Get Source (cssctspec.sp - 30 views - 4.5 KB)
File Type: txt cssctspec.games.txt (903 Bytes, 39 views)
File Type: smx cssctspec.smx (5.0 KB, 30 views)
xerox8521 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 02:14.


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