System · 44
Logged warnings now count arguments from 0 instead of 1.
logged warnings argument indexingAdded Instance.OnHostagePickUpAbort event.
onhostagepickupabort eventdiscussed on r/cs2 ↗Added Console.GetConvarQAngle method.
getconvarqangle methoddiscussed on r/cs2 ↗Added Console.GetConvarVector method.
getconvarvector methoddiscussed on r/cs2 ↗Added new top level export Console.
console exportdiscussed on r/cs2 ↗Added Instance.OnHostageDrop event.
onhostagedrop eventdiscussed on r/cs2 ↗Moved and renamed methods are still available in their original location, marked as deprecated.
deprecated methods availabilityAdded CSPrecache.Release method.
release methoddiscussed on r/cs2 ↗Added CSPlayerPawn.GetHostage method.
gethostage methoddiscussed on r/cs2 ↗Added CSPrecache.IsLoadedForAll method.
isloadedforall methoddiscussed on r/cs2 ↗Added new CSHostage export/class.
cshostage exportdiscussed on r/cs2 ↗Improved auto complete of the map_workshop command.
auto completeAdded Console.GetConvarBoolean method.
getconvarboolean methoddiscussed on r/cs2 ↗Added GameRules.StartWarmup method.
startwarmup methoddiscussed on r/cs2 ↗Added Instance.OnHostageRescue event.
onhostagerescue eventdiscussed on r/cs2 ↗Added CSHostage.GetPickUpStartTime method.
getpickupstarttime methoddiscussed on r/cs2 ↗Added CSPrecache.IsClientLoaded method.
isclientloaded methoddiscussed on r/cs2 ↗Added Console.GetConvarNumber method.
getconvarnumber methoddiscussed on r/cs2 ↗Added CSPrecache.IsServerLoaded method.
isserverloaded methoddiscussed on r/cs2 ↗Added Instance.OnHostageKill event.
onhostagekill eventdiscussed on r/cs2 ↗Added CSHostage.IsBeingCarried method.
isbeingcarried methoddiscussed on r/cs2 ↗Added GameRules.AddTeamScore method.
addteamscore methoddiscussed on r/cs2 ↗Logged warnings now include the JS call stack.
logged warnings call stackAdded Instance.OnHostagePickUpStart event.
onhostagepickupstart eventdiscussed on r/cs2 ↗Added CSHostage.GetPickUpFinishTime method.
getpickupfinishtime methoddiscussed on r/cs2 ↗Added Instance.Precache to map scripting, returning a CSPrecache object.
precache methoddiscussed on r/cs2 ↗Moved Instance.ClientCommand, ServerCommand, and RegisterCheatCommand to Console.
command methods relocationdiscussed on r/cs2 ↗Added CSPrecache.IsServerLoading method.
isserverloading methoddiscussed on r/cs2 ↗Added Instance.OnHostagePickUp event.
onhostagepickup eventdiscussed on r/cs2 ↗Added Console.SetConvar method, which is not restricted by sv_cheats and executes synchronously.
setconvar methoddiscussed on r/cs2 ↗Logged warnings now include details about bad argument values.
logged warnings argument detailRenamed Instance.Msg to Console.Log.
msg method renamediscussed on r/cs2 ↗Added GameRules.GetTeamScore method.
getteamscore methoddiscussed on r/cs2 ↗Added new top level export GameRules.
gamerules exportdiscussed on r/cs2 ↗Added Console.GetConvarString method.
getconvarstring methoddiscussed on r/cs2 ↗Added CSHostage.IsRescued method.
isrescued methoddiscussed on r/cs2 ↗Added GameRules.EndWarmup method.
endwarmup methoddiscussed on r/cs2 ↗Moved Instance.IsWarmupPeriod, IsFreezePeriod, IsTeamIntroPeriod, GetRoundsPlayed, GetRoundRemainingTime, SetRoundRemainingTime, and AddTeamMoney to GameRules.
period and money methods relocationdiscussed on r/cs2 ↗Added Console.GetConvarColor method.
getconvarcolor methoddiscussed on r/cs2 ↗Added support for GameRules.AddTeamMoney with CSTeamMoneyReason.NONE and an amount.
addteammoney supportdiscussed on r/cs2 ↗Added GameRules.TerminateRound method.
terminateround methoddiscussed on r/cs2 ↗Added CSPrecache.IsClientLoading method.
isclientloading methoddiscussed on r/cs2 ↗Added CSHostage.IsBeingPickedUp method.
isbeingpickedup methoddiscussed on r/cs2 ↗Added CSHostage.GetRescuer method.
getrescuer methoddiscussed on r/cs2 ↗
UI · 2
Added top-level custom_hud_layout classes HUD_TEAMMENU_VISIBLE and HUD_CHAT_VISIBLE.
custom hud layout classdiscussed on r/cs2 ↗radar_element can now appear on the radar in every game mode, not just Rush.
radar element visibilitydiscussed on r/cs2 ↗
Fix · 5
Fixed CSTeamMoneyReason enum values not matching point_script.d.ts.
csteammoneyreason enum values matchFixed CSRadarPoint.IsVisibleToTeam returning a number instead of a boolean.
csradarpoint.isvisibletoteam return type fixFixed CSWeaponAttackType enum values not matching point_script.d.ts.
csweaponattacktype enum values matchFixed a crash in GameRules.AddTeamMoney with CSTeamMoneyReason.NONE.
crash fixFixed CSObservablePoint.IsObservableForTeam returning a number instead of a boolean.
csobservablepoint.isobservableforteam return type fix


