Phil25... Can we get an update to this awesome plugin?
The recent TF2 update deprecated the property labeled 'm_iPlayerIndex" and replaced it with "m_hPlayer". As a result, it's throwing a property not found error m_iPlayerIndex within the stocks include file.
From Reddit after the update:
PHP Code:
All weapon entity classes now have a m_nCustomViewmodelModelIndex networked property.
It appears that this is a direct replacement for the existing m_nViewmodelIndex.
If you plan on creating custom weapons in VScript, you will still need to spawn in a wearable
viewmodel and attach it to the hands.
All player entity classes now have m_bForceLocalPlayerDraw and m_szScriptOverlayMaterial
networked properties.
The CTEPlayerAnimEvent tempent now has an m_hPlayer property instead
of an m_iPlayerIndex.
This also applies to CTFRagdoll.
The gamerules entity now has m_nForceUpgrades (forces MvM mode) and
_nForceEscortPushLogic (payload).
CTFPlayerShared has replaced the m_iDisguiseTargetIndex property
(identifying the disguise target with a player index) with the m_hDisguiseTarget property
(identifying with an entity handle instead — this performs additional validations that the
player is the one that was initially assigned, instead of one that may or may not exist
at the same index in the future).
A SavedConvar usermessage was added.