View Single Post
Author Message
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 11-06-2010 , 16:38   [ANY] Freeze All (0.3)
Reply With Quote #1

[ANY] Freeze All (0.3)


I actually coded most of this a long time ago, but I recently added the immunity admin menu stuff so I thought id post it.

Description:
Administrative plugin that allows admins to freeze all players on the server(except for that admin). Also allows for giving immunity to specified players via admin menu.

I coded this because I wanted something a little more powerful than sm_freeze @all which doesnt account for players dying, nor does it allow an infinite non-annoying way of freezing everyone.

You can even exec this on a server before players have joined, then once they join and spawn, they will be automatically frozen. Players will be frozen until you either unfreeze them or change maps.

Admin Command/Use:
(Admin flag access: BAN flag)

!freezeall/sm_freezeall in chat/console to toggle freezing all.

Also, FreezeAll menu is auto-added to admin menu.



Installation/Cvars:

- Place .smx into the plugins folder
- Place below cvar into sourcemod.cfg if you wish:
sm_freezeall_enabled "1" //Enable freezeall all plugin?(1/0 = yes/no)


Games:
Should work for any source games id think, but only tested on TF2.



Changelog:

Code:
11/9/10 - v0.3 - Few small adjustments made. No longer getting movement type in freeze functions.
11/6/10 - v0.2 - Initial release. Also added admin menu capabilities and immunity crap.


Attached Files
File Type: sp Get Plugin or Get Source (sm_freezeall.sp - 2690 views - 9.4 KB)
__________________

Last edited by retsam; 11-09-2010 at 13:36.
retsam is offline