Skip to content

0.11.0

Compare
Choose a tag to compare
@nosoop nosoop released this 18 Mar 17:10
· 61 commits to master since this release

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.