Raised This Month: $535 Target: $400
 133% 

(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 , 09: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 CTs (Ts can only spec CTs, CTs can only spec CTs and spectators can only spec CTs)

maybe with an option that admins can spec Ts
__________________
Counter-Strike Source Server
https://high-devil-force.de
YoUrEnD is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 01-18-2022 , 17: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 - 13 views - 4.5 KB)
File Type: txt cssctspec.games.txt (903 Bytes, 18 views)
File Type: smx cssctspec.smx (5.0 KB, 5 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 17:47.


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