View Single Post
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 07-17-2012 , 00:21   Re: [Any] Map end cvars reset (sv_gravity, phys_timescale, phys_pushscale, etc...)
Reply With Quote #7

As requested by a CS:S mg server admin I know, I made a version of this plugin which resets cvars at round end.
On some mg maps you can play soccer or volley for one round, and then the physcale, timescale or gravity are changed and not reset next round.

There's an enable/disable cvar:
sm_roundend_cvars_reset_enabled 1 / 0
The config file has been renamed (see attachements).

I'm just dropping it here.
(v3.0b uploaded to add a check if the cfg file is loaded.)
Attached Files
File Type: cfg roundend_cvars_reset.cfg (50 Bytes, 580 views)
File Type: sp Get Plugin or Get Source (roundend_cvars_reset.sp - 1200 views - 1.8 KB)
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 08-22-2019 at 17:21. Reason: indentation corrected
St00ne is offline