smilz0 / Left4Lib

VScript library used by my addons
https://steamcommunity.com/sharedfiles/filedetails/?id=2634208272
9 stars 0 forks source link

New functions: GetWeaponTierById, GetWeaponTierByClass #1

Closed smilz0 closed 1 year ago

smilz0 commented 1 year ago

// Returns the tier number (1, 2, 3) for the weapon with the given id // 0 for non weapon items (like medkits etc.) Left4Utils.GetWeaponTierById <- function (weaponId)

// Returns the tier number (1, 2, 3) for the weapon with the given class name // 0 for non weapon items (like medkits etc.) Left4Utils.GetWeaponTierByClass <- function (weaponClass)