[TF2] Weapon slot enum for GetPlayerWeaponSlot
As suggested by psychonic, I created an enum with a correct mapping of the TF2 weapon slots, based on empirical testing. It is intended to be used in place of the existing TFWeaponSlot values.
PHP Code:
EngineerBuilder is used by an invisible item with item index 28 that allows the Engineer to build his various buildings... the BuildTool and DestroyTool alone are not enough and will not work if the Engy doesn't have an item index 28. |
Re: [TF2] Weapon slot enum for GetPlayerWeaponSlot
Quote:
also tf2itemsinfo's TF2ItemSlot enum wasn't enough? |
| All times are GMT -4. The time now is 18:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.