Raised This Month: $ Target: $400
 0% 

Only Admin Spectators


Post New Thread Reply   
 
Thread Tools Display Modes
D o o m
Veteran Member
Join Date: Sep 2005
Location: Germany
Old 01-06-2008 , 04:00   Re: Only Admin Spectators
Reply With Quote #31

German translation
Code:
[de]

MSG_NOSPEC = Nur bestimmte Admins koennen zuschauen. Erzwinge Teamwechsel.
__________________
Heroes
:+: Deadpool :+:
D o o m is offline
biglittle007
Junior Member
Join Date: Nov 2007
Old 01-06-2008 , 11:19   Re: Only Admin Spectators
Reply With Quote #32

Spanish/Espaņol:

Code:
[es]

MSG_NOSPEC = Solo algunos Admins pueden ser Espectadores forzando el cambio de Equipo.
biglittle007 is offline
nunoabc
Senior Member
Join Date: Aug 2007
Location: Portugal, VN Gaia
Old 02-27-2008 , 13:20   Re: Only Admin Spectators
Reply With Quote #33

Portuguese (European) translation

Code:
[bp]

MSG_NOSPEC = So apenas alguns admins podem ser Espectadores. Forcando a troca de equipa.
nunoabc is offline
Ambrosia
Senior Member
Join Date: Mar 2008
Old 04-13-2008 , 21:02   Re: Only Admin Spectators
Reply With Quote #34

allow_spectators 0 (change to 1 to enable spectators in general)
But does this plugin force the server to allow admins to go into spec?
Or does it have to be enabled in the server.cfg, in which case everyone can be a spectator no?

Currently I have spectators disabled, therefor there's no option to join spec.
Even with this plugin running and all.
My question is do i have to enable spectating in the server.cfg and how will it affect visitors from going into spec?
Or does this plugin auto block them from choosing spectating?
The number of spectators allowed are defined by the server.cfg?
Ambrosia is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-14-2008 , 01:06   Re: Only Admin Spectators
Reply With Quote #35

allow_spectators 1 will make the spectator option to show when changing teams. This plugin handles the call made when they press that option. If they press that option and they don't have the proper access flag it sends them to a random team(random / by team number count).
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Ambrosia
Senior Member
Join Date: Mar 2008
Old 04-14-2008 , 05:55   Re: Only Admin Spectators
Reply With Quote #36

Quote:
Originally Posted by GHW_Chronic View Post
allow_spectators 1 will make the spectator option to show when changing teams. This plugin handles the call made when they press that option. If they press that option and they don't have the proper access flag it sends them to a random team(random / by team number count).
Thanks for replying, I kinda figured that out.
But just wanted to make sure before changing it.
Karma +
Ambrosia is offline
Ambrosia
Senior Member
Join Date: Mar 2008
Old 04-14-2008 , 22:39   Re: Only Admin Spectators
Reply With Quote #37

I have this all in my CVAR, not sure if something should have been taken out or not but I just copied and paste it.
Yet somehow when I join there's the spectating menu, before choosing that I make sure i'm signed in as a admin.
Now when I do choose spectate it says only specific admins are allowed to spec. forcing into a team.

Which I don't get since your plugin is easy as hell, yet i must be doing something wrong.
After joining a team or such (for some reason spectate is not up for chosing, though it's enabled on the server).

spec_admin - cvar sets what flag (from users.ini) that the admin needs to join spec.
any number of flags allowed (example: "abcd")
Default: "abcdefghijklmnopqrstu"

Last edited by Ambrosia; 04-14-2008 at 22:39. Reason: forgot something
Ambrosia is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-15-2008 , 17:34   Re: Only Admin Spectators
Reply With Quote #38

I have a feeling you may be confused. In your amxx.cfg add this line:

Code:
spec_admin "abcdefghijklmnopqrstu"
Now when you go into your server and while dead (because whether it is meant to be this way or not i dunno CS only displays the [spectator] button on the change team menu when you are dead) select spectator and it should work fine (will allow everyone with one or more of those flags to join spec, if you don't have a single one of those flags you get sent to a team).

Edit: text edited as well plugin updated to resolve an annoying bug

Last edited by GHW_Chronic; 04-15-2008 at 17:40.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Ambrosia
Senior Member
Join Date: Mar 2008
Old 04-15-2008 , 17:41   Re: Only Admin Spectators
Reply With Quote #39

Yeah that should do it.
As I don't know too much about CVARS itself I tend to copy and paste what the authors write on this forum.
It makes sense now what you wrote and should do the trick.
Thanks alot man.
Not sure I can give you K+ again but i'll try just because you're helpful.
Ambrosia is offline
vashistengineer
New Member
Join Date: Aug 2008
Location: India
Old 08-31-2008 , 07:08   Re: Only Admin Spectators
Reply With Quote #40

Thanx for this. . . very gud thinking for spec. for ADMINS only.
__________________
Cheers & Regards
sLaY3R
vashistengineer is offline
Send a message via Yahoo to vashistengineer
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 09:56.


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