v1.3.0
Deprecation Notices
ItemPickup.Weapon
has been deprecated, useItemPickup.WeaponTraceable()
instead.ItemEquip.Weapon
has been deprecated, useItemEquip.WeaponPtr
instead.ItemDrop.Weapon
has been deprecated, useItemDrop.WeaponPtr
instead.RankUpdate.SteamID
has been deprecated, useRankUpdate.SteamID32
instead.
New Features / Changes
- Added
GameState.ConVars()
which returns amap[string]string
of CVar key-value pairs (#97) - Added
events.ConVarsUpdated
which signals that CVars have been changed (#97) - Added
events.WeaponReload
which 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]string
containing weapon names (#135) - Added
common.GamePhaseNames()
which returns amap[GamePhase]string
containing the names of theGamePhase
s (#135) GenericGameEvent
will now always be dispatched, regardless of whether there is a custom, corresponding event in theevents
package or not
Fixes
- Fixed weapon-ID not being consistent for
ItemPickup
,ItemEquip
&ItemDrop
(#119) - Fixed
Equipment.AmmoReserve
never being updated (#133) - Delayed dispatching of
FireGrenadeStart
to the end of the tick soEntityID
is useful (#131) - Documented that
RankUpdate.SteamID
contains the 32-bit SteamID (#128)
Contributors
Thanks to @xXxhaxmeister42xXx for the various contributions to this release.