AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Freeze All (0.3) (https://forums.alliedmods.net/showthread.php?t=142494)

retsam 11-06-2010 16:38

[ANY] Freeze All (0.3)
 
1 Attachment(s)
[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.




hksjun 11-07-2010 15:34

Re: [ANY] Freeze All (0.2)
 
hi!retsam

nice plugin!

can add this future?thanks

(1)set how many times will auto unfreeze all
(2)srcds=>console type "freezeall" can freeze all

MjrNuT 11-07-2010 18:34

Re: [ANY] Freeze All (0.2)
 
Quote:

Originally Posted by retsam (Post 1343404)
!freezeall/sm_freezeall in chat/console to toggle freezing all.

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

Quote:

Originally Posted by hksjun (Post 1344476)
(2)srcds=>console type "freezeall" can freeze all

Isn't that there?



Nice plugin. I can see this for like map walkthroughs. Freeze you mofos!! :wink:

retsam 11-07-2010 20:16

Re: [ANY] Freeze All (0.2)
 
Quote:

Originally Posted by hksjun (Post 1344476)
hi!retsam

nice plugin!

can add this future?thanks

(1)set how many times will auto unfreeze all
(2)srcds=>console type "freezeall" can freeze all


(1) I dont know what that means...
(2) As Mjrnut said, the command trigger is !freezeall / sm_freezeall in chat / console.

The admin menu I added actually adds more functionality though.

hksjun 11-08-2010 04:44

Re: [ANY] Freeze All (0.2)
 
1 Attachment(s)
Quote:

Originally Posted by retsam (Post 1344699)
(1) I dont know what that means...
(2) As Mjrnut said, the command trigger is !freezeall / sm_freezeall in chat / console.

The admin menu I added actually adds more functionality though.

(1)if use "!freezeall / sm_freezeall / admin menu freezeall" freeze all player/bot.
need manually use 1 times"!freezeall / sm_freezeall / admin menu freezeall" to unfreeze all player/bot.

add this future:
Amount of seconds before automatic unfreeze all player/bot.

(2)i know type !freezeall / sm_freezeall in chat / console(~).
but in srcds(console) type !freezeall / sm_freezeall cant freezeall.

add this future:
in srcds(console) type !freezeall / sm_freezeall can freezeall.

thanks!:oops:

retsam 11-09-2010 13:33

Re: [ANY] Freeze All (0.3)
 
(1) Can hardly understand what that says but, I am not adding a duration to this. Use sm_freeze for duration freezes. This plugin is for admin toggled perm freezes.

(2) !freezeall/sm_freezeall in chat/console means, !freezeall in chat, and sm_freezeall in console. It doesnt mean both.... sm_ commands always mean console. ! always indicates chat. / of course is silent chat.


Updated: v0.3

I made a few little adjustments. I saw one possible little issue before.

markg 10-28-2011 16:42

Re: [ANY] Freeze All (0.3)
 
the plugin works fine, with one exception; it wont let me grant immunity to any players.

any chance you could update that to work?

chatyak 10-11-2012 17:38

Re: [ANY] Freeze All (0.3)
 
Quote:

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.
How would I set it so anyone who joins server is automatically frozen (exec from server) upon joining? This would work well for l4d2 games.

I tried typing say "command-goes-here" in server.cfg but it didn't work.


All times are GMT -4. The time now is 11:51.

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