AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Observe Client 1.2.4 (https://forums.alliedmods.net/showthread.php?t=62324)

WhiteWolf 10-24-2007 00:55

Observe Client 1.2.4
 
2 Attachment(s)
Simple plugin to duplicate ma_observe / ma_endobserve functionality.

Commands:
sm_observe <playername>
sm_endobserve


Changelog for 1.2.4 - RedSword
* Fixed not spec'ing the good player when dying in CS:GO
* Removed FCVAR_REPLICATED from version ConVar

Changelog for 1.2.2 - psychonic
* Fixed sm_observe so it will print how to use the command if you don't specify a client
* Fixed ReplyToTargetError() error

Updated to 1.2.1, changing the admin flag from SLAY to KICK.

Changelog for 1.2 - Thanks to psychonic
* Now works with DOD:S and bots
* Fixed errors like PrintToChat.. client not in game
* Changed the steambans check to use sbsrc_version (sb_version is for sourcebans, which does not have the sb_status command).
* Changed all GetMaxClients() calls to just use MaxClients var.
* Removed hooking of "player_disconnect" event in favor of using the
* OnClientDisconnect() forward.
* Added CVAR: observe_version

When you use sm_observe <name>; this plugin will attempt to make sure you're automatically spectating this client on death/each new round.

Version 1.1:
Should work better, includes sb_status integration.

Add it into the Super Menu's:
You can put two menu options for this into the Super commands menu plugin by using:

Quote:

"Observe a player"
{
"cmd" "sm_observe #1"
"admin" "sm_kick"
"execute" "player"
"1"
{
"type" "player"
"method" "name"
"title" "Player to observe:"
}
}
"End Observe"
{
"cmd" "sm_endobserve"
"admin" "sm_kick"
"execute" "player"
}
Credits:
Mani - Showed me his MAP implementation, this is roughly based off that
puopjik - Fixing some bugs
smithxxl - Fixing some bugs
Psychonic - Fixing bugs and creating a new version
RedSword - Fixing CSGO bug

tcviper 10-24-2007 03:18

Re: Observe Client
 
Will this be auto added to the admin menu?

WhiteWolf 10-24-2007 07:44

Re: Observe Client
 
Quote:

Originally Posted by tcviper (Post 545621)
Will this be auto added to the admin menu?

Not in this version... maybe in the future. =)

graczu 10-24-2007 09:25

Re: Observe Client
 
Good idea, for this.

tcviper 11-01-2007 04:40

Re: Observe Client
 
Can you make a cvar for Steambans to make it auto call sb_status?

MoggieX 11-01-2007 14:07

Re: Observe Client
 
Quote:

Originally Posted by tcviper (Post 548262)
Can you make a cvar for Steambans to make it auto call sb_status?

+1 for that idea!!

Oh and an ace addition!

Matt

Derek 11-03-2007 00:39

Re: Observe Client
 
Seems like you cant observe bots.

red! 11-03-2007 10:12

Re: Observe Client
 
is it able to override mp_forcechasecam? I think mani was not (and I'm not even sure if this is possible), but this would be useful for admins to spectate "suspicious" players ...

Derek 11-03-2007 11:18

Re: Observe Client
 
Be good if you can add this to the menu.

MoggieX 11-03-2007 21:32

Re: Observe Client
 
Quote:

Originally Posted by DerekRDenholm (Post 548921)
Be good if you can add this to the menu.

Use the sm_super menu system and add it in the menu file

Matt


All times are GMT -4. The time now is 16:25.

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