v2.5.3
v2.5.3 update notes
- Added pause button in KZ CP menu.
- In addition, the KZ CP menu now persists and will re-open in case it disappears.
- Fixed error when a player uses !top before the rankings have been calculated.
- Removed the pointless round restarting logic in the Dynamic Timelimit module.
- Made the default method for zoning to be aiming.
- Added warning that shows up before using functionalities that can stop the timer when your time passes a defined number of seconds. See the new added console variable
shavit_misc_stoptimerwarning
. This is triggered on noclip/stop and style changing commands. - Added
"noimprovement"
sound config file. The sound will play if you finish the map, but not beating your personal best.
Console Variables
shavit_misc_stoptimerwarning
- the amount of seconds someone's timer needs to have to receive the "your timer will be stopped" warning upon using !stop, !nc or changing their style.
API
- Added natives:
Shavit_CanPause
- determines whether a player is able to pause or not. A value of 0 means that they can pause or resume their timer. Otherwise, this native retrieves flags:CPR_ByConVar
,CPR_NoTimer
,CPR_InStartZone
,CPR_NotOnGround
. Sample usage:
if((Shavit_CanPause(client) & CPR_ByConVar) > 0)
{
// this code will be executed if the pause cvar is disabled
}
-
New native behavior:
Shavit_ResumeTimer
- now has a second parameter,teleport
. True will teleport the player to the position they paused at.
-
Added forwards:
Shavit_OnTeleport
- called upon teleporting with a checkpointShavit_OnStopPre
- called when the timer is stopping. Ignored whenShavit_StopTimer
is called with thebypass
parameter set to true. Returningfalse
here will prevent the timer from stopping.