v1.3.0
Deprecation Notices
ItemPickup.Weaponhas been deprecated, useItemPickup.WeaponTraceable()instead.ItemEquip.Weaponhas been deprecated, useItemEquip.WeaponPtrinstead.ItemDrop.Weaponhas been deprecated, useItemDrop.WeaponPtrinstead.RankUpdate.SteamIDhas been deprecated, useRankUpdate.SteamID32instead.
New Features / Changes
- Added
GameState.ConVars()which returns amap[string]stringof CVar key-value pairs (#97) - Added
events.ConVarsUpdatedwhich signals that CVars have been changed (#97) - Added
events.WeaponReloadwhich signals that a player is reloading his weapon (#137) - Added
Inferno.Owner()which returns the player that threw the fire grenade (#131) - Added
GameState.GamePhase()which returns the currentGamePhase(#136) - Added
common.EquipmentElementNames()which returns amap[EquipmentElement]stringcontaining weapon names (#135) - Added
common.GamePhaseNames()which returns amap[GamePhase]stringcontaining the names of theGamePhases (#135) GenericGameEventwill now always be dispatched, regardless of whether there is a custom, corresponding event in theeventspackage or not
Fixes
- Fixed weapon-ID not being consistent for
ItemPickup,ItemEquip&ItemDrop(#119) - Fixed
Equipment.AmmoReservenever being updated (#133) - Delayed dispatching of
FireGrenadeStartto the end of the tick soEntityIDis useful (#131) - Documented that
RankUpdate.SteamIDcontains the 32-bit SteamID (#128)
Contributors
Thanks to @xXxhaxmeister42xXx for the various contributions to this release.