Raised This Month: $12 Target: $400
 3% 

Admin spectating all?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flamefire
Junior Member
Join Date: Sep 2006
Old 09-21-2006 , 12:37   Admin spectating all?
Reply With Quote #1

I'm looking for a Plugin for Spectator Mode (after dead)
I' want the players on my Server just to see the own teammates
But I want the admins to see every player.
What are the Variables in the cgf to see just own teammates and what is the varible to use all perspectives (map overview, lokked chase cam, first person...)

And is there a Plugin to let Admins spectate every Player?
Flamefire is offline
uF2k
Member
Join Date: May 2004
Location: NRW, Germany
Old 10-12-2006 , 18:50   Re: Admin spectating all?
Reply With Quote #2

I have interess for this plugin
__________________
uF2k is offline
Send a message via AIM to uF2k Send a message via Yahoo to uF2k Send a message via Skype™ to uF2k
HarcoN
Member
Join Date: Sep 2005
Location: Denmark
Old 10-13-2006 , 08:35   Re: Admin spectating all?
Reply With Quote #3

i've only requested this 2-3 times, and asked 2 plugin makers to give it a try, nothing yet :S
__________________
www.clankamp.dk
The place where clans meet.
HarcoN is offline
Send a message via MSN to HarcoN Send a message via Skype™ to HarcoN
jimmy_cr
Member
Join Date: Sep 2004
Old 10-15-2006 , 06:36   Re: Admin spectating all?
Reply With Quote #4

I think Kr@tal made this plugin...search the forum please...
jimmy_cr is offline
Send a message via ICQ to jimmy_cr
iggy_bus
BANNED
Join Date: Oct 2005
Old 10-16-2006 , 17:24   Re: Admin spectating all?
Reply With Quote #5

http://djeyl.net/forum/index.php?sho...=forcechasecam

Since it is from amx mod you will have to use amx mode x 1.76a because it has reverse compatibility plugin.

I had this plugin bt it bugs, very offten happens that even regular players can see all players, not just admins, so I removed it
iggy_bus is offline
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 10-16-2006 , 19:41   Re: Admin spectating all?
Reply With Quote #6

Quote:
Originally Posted by iggy_bus View Post
http://djeyl.net/forum/index.php?sho...=forcechasecam

Since it is from amx mod you will have to use amx mode x 1.76a because it has reverse compatibility plugin.

I had this plugin bt it bugs, very offten happens that even regular players can see all players, not just admins, so I removed it
Code:
/*******************************************************************************************************
                        		AMX Forcechasecam
          

  Author: KRoTaL
  Version: 0.2

  0.1  Release
  0.2  Selects the next friend automatically


	Players without immunity (you can modify the admin flag in the code, search for ADMIN_IMMUNITY)
	cannot spectate the other team (and they can't use freeview, ...). 
	If they select an enemy, the plugin will automatically make them watch their next friend
	by executing +attack on them.
	Admins can spectate both teams.

	Set mp_forcechasecam to 0.


  Cvars:

	amx_forcechasecam 1	-	0: disables the plugin
						1: enables the plugin

	amx_forceftb 1	-	0: does not fade to black if watching an enemy
					1: fades to black if watching an enemy
					This cvar is taken into account only if amx_forcechasecam is set to 1.



*******************************************************************************************************/

#include <amxmodx>
#include <amxmisc>
#include <engine>

new maxplayers
new gMsgScreenFade

public plugin_init()
{
	register_plugin("Forcechasecam", "0.2", "KRoTaL")
	register_cvar("amx_forcechasecam", "1")
	register_cvar("amx_forceftb", "1")

	set_task(0.1, "check_spectated", 45421000, "", 0, "b")

	gMsgScreenFade = get_user_msgid("ScreenFade")
	maxplayers = get_maxplayers() 
}

public check_spectated()
{
	if(get_cvar_num("amx_forcechasecam") == 0)
	{
		return PLUGIN_CONTINUE
	}

	for(new id = 1 ; id <= maxplayers ; id++)
	{
		if(is_user_connected(id))
		{
			if(!(get_user_flags(id) & ADMIN_IMMUNITY))
			{
				new team = get_user_team(id)
				if(!is_user_alive(id) && (team == 1 || team == 2) && entity_get_int(id, EV_INT_deadflag) == 2)
				{
					if(entity_get_int(id, EV_INT_iuser1) != 4)
					{
						entity_set_int(id, EV_INT_iuser1, 4)
					}

					new spectated = entity_get_int(id, EV_INT_iuser2)

					if(get_user_team(spectated) != team)
					{
						client_cmd(id, "+attack;wait;-attack")

						if(get_cvar_num("amx_forceftb") == 1)
						{
							message_begin(MSG_ONE, gMsgScreenFade, {0,0,0}, id) 
							write_short(1<<12) 
							write_short(1<<12)
							write_short(1<<12)
							write_byte(0) 
							write_byte(0) 
							write_byte(0) 
							write_byte(255) 
							message_end()
						}
					}
					else
					{
						if(get_cvar_num("amx_forceftb") == 1)
						{
							message_begin(MSG_ONE, gMsgScreenFade, {0,0,0}, id) 
							write_short(1) 
							write_short(1) 
							write_short(12) 
							write_byte(0) 
							write_byte(0) 
							write_byte(0) 
							write_byte(0) 
							message_end()
						}
					}
				}
			}
		}
	}

	return PLUGIN_CONTINUE
}
Looked alright when I was going through it. Should 'eventually' get to a friend instead of an enemy because the cryptic way of "+attack;wait;-attack" may not be 100% foolproof :-).

Converted to AMXX.

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
RTG
Senior Member
Join Date: Aug 2010
Location: CZ
Old 09-07-2011 , 18:22   Re: Admin spectating all?
Reply With Quote #7

Is that this plugin?
http://forums.alliedmods.net/showpos...5&postcount=11
RTG is offline
Send a message via ICQ to RTG Send a message via AIM to RTG
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 09-07-2011 , 18:31   Re: Admin spectating all?
Reply With Quote #8

Yes and why revive a dead thread?
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
RTG
Senior Member
Join Date: Aug 2010
Location: CZ
Old 09-07-2011 , 18:43   Re: Admin spectating all?
Reply With Quote #9

because of non working links
RTG is offline
Send a message via ICQ to RTG Send a message via AIM to RTG
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 09-07-2011 , 20:41   Re: Admin spectating all?
Reply With Quote #10

Quote:
Originally Posted by joshknifer View Post
Yes and why revive a dead thread?
It certainly helped me out. I've been looking for a plugin like this for weeks now. I'm glad he bumped it to give me something else to try.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
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 11:47.


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