I have noticed another prop
m_hMeleeWeaponInfo (Prop_Send) buy maybe comparing it with the meleeweapons table could find something.
These are my debug values:
Using on
c5m1_waterfront map
Code:
] melee_dump_weapons_server
(Server)0: shovel (hash=12) (4e467140)
(Server)1: pitchfork (hash=11) (8736c70)
(Server)2: golfclub (hash=10) (737ef0f0)
(Server)3: knife (hash=9) (6fd8f100)
(Server)4: electric_guitar (hash=8) (7292f100)
(Server)5: katana (hash=7) (f8ff120)
(Server)6: tonfa (hash=6) (6fb8a1c0)
(Server)7: cricket_bat (hash=5) (46a87d40)
(Server)8: crowbar (hash=4) (74e8f140)
(Server)9: baseball_bat (hash=3) (7202f160)
(Server)10: machete (hash=2) (5e461a60)
(Server)11: frying_pan (hash=1) (4a2ab460)
(Server)12: fireaxe (hash=0) (3fbc0410)
g_aMeleeScripts [0] fireaxe
g_aMeleeScripts [1] frying_pan
g_aMeleeScripts [2] machete
g_aMeleeScripts [3] baseball_bat
g_aMeleeScripts [4] crowbar
g_aMeleeScripts [5] cricket_bat
g_aMeleeScripts [6] tonfa
g_aMeleeScripts [7] katana
g_aMeleeScripts [8] electric_guitar
g_aMeleeScripts [9] knife
g_aMeleeScripts[10] golfclub
g_aMeleeScripts[11] pitchfork
g_aMeleeScripts[12] shovel
Result from the following melees:
- frying_pan: Prop_Send integer "CTerrorMeleeWeapon" "m_hMeleeWeaponInfo" is 1
- tonfa: Prop_Send integer "CTerrorMeleeWeapon" "m_hMeleeWeaponInfo" is 6
- katana: Prop_Send integer "CTerrorMeleeWeapon" "m_hMeleeWeaponInfo" is 7
So in theory you can match the "ID" with the "hash"/index value of the meleetable.
In GitHub I only found one plugin that uses that netprop:
https://github.com/SamuelXXX/l4d2_su...e_when_died.sp
__________________