0.11.0
Added
- Native
TF2Util_GetPlayerLoadoutEntity
, to get the entity associated with a player's loadout slot. - Native
TF2Util_IsEntityWearable
, to check if an entity is a wearable item. - Native
TF2Util_EquipPlayerWearable
, to attach a wearable entity onto a player. This does not fix visibility of wearables.
Observant developers will notice that these natives are duplicates of the ones in sourcemod-tf2wearables. While I'll still maintain that repository with regards to game updates and having both installed will not cause conflicts, the intent is to provide a single solution and reduce dependencies if you don't happen need the enum typing or stock functions.