[CSGO] Warmup Control (v1.7, 30.03.2020)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

[CSGO] Warmup Control (v1.7, 30.03.2020)

Post by greenie »

Compiled using:

SourcePawn Compiler 1.10.0.6453

Description:

Keeps Infinite Warmup until 2 players has joined a match to play. If number of players joined a match is again less than 2 then again starts Infinite Warmup.
During Infinite Warmup players have Infinite ammo, 5 Grenades of each type with a knife on each spawn and can buy anywhere on map with maximum money allowed to train Smokes or Grenades and so on. During infinite Warmup players on death don't drop anything on the ground.
During Infinite Warmup you are not able to change value for following Cvar commands: mp_do_warmup_period and mp_warmup_pausetimer to prevent undesired Warmup behavior.
When there are 2 or more people joined a match then disables Infinite Warmup (In condition it was not forced by sm_warmup_start or by mp_warmup_start).
On Infinite Warmup end all changed attributes for players by Infinite Warmup are returned back to original setup.
CVAR/Command list:
sm_warmup_debug
Prints to console necessary information for debugging this plugin.
sm_warmup_start
Forces Infinite Warmup forever until it is disabled by sm_warmup_check, sm_warmup_end, mp_warmup_end, Abandoning server or Map change.
sm_warmup_end
Ends Infinite Warmup and also disabling Infinite Warmup forever.
sm_warmup_toggle
If Infinite Warmup is not running executes sm_warmup_start behavior otherwise executes sm_warmup_end behavior.
sm_warmup_check
Checks if conditions for Infinite Warmup are met. If so starts Infinite Warmup otherwise ends it. Also disabling Infinite Warmup forever if Infinite Warmup was forced.
sm_warmup_version
Prints to console version of this plugin.
mp_do_warmup_period
This cvar is remapped and always sets itself back to Infinite Warmup set value when Infinite Warmup is running to protect this plugin from undesirable behavior.
mp_warmup_pausetimer
This cvar is remapped and always sets itself back to Infinite Warmup set value when Infinite Warmup is running to protect this plugin from undesirable behavior.
mp_warmup_start
This command is remapped and has same behavior as sm_warmup_start.
mp_warmup_end
This command is remapped and has same behavior as sm_warmup_end.
endround
This command is remapped and disabled when Infinite Warmup is running.
Installation instructions:
Put file warmupcontrol.smx in standard plugin directory:
...\sourcemod\plugins
Live preview
If you want to try it out by yourself then this plugin is running on CSGO server

plugin
Post Reply

Return to “Gameplay”