From f445e7923954134ccb2d10288752669de5ad6a90 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 18 Aug 2017 16:12:04 +0100 Subject: [PATCH] Update entity property name Most recent update broke some stuff, here's an update: ![Image](https://i.tech-no.me/180817161124.png) --- scripting/multi1v1/mute.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripting/multi1v1/mute.sp b/scripting/multi1v1/mute.sp index 3fc1dce3..e2d000a8 100644 --- a/scripting/multi1v1/mute.sp +++ b/scripting/multi1v1/mute.sp @@ -60,7 +60,7 @@ public Action Hook_ShotgunShot(const char[] te_name, const int[] players, int nu TE_WriteVector("m_vecOrigin", vTemp); TE_WriteFloat("m_vecAngles[0]", TE_ReadFloat("m_vecAngles[0]")); TE_WriteFloat("m_vecAngles[1]", TE_ReadFloat("m_vecAngles[1]")); - TE_WriteNum("m_iWeaponID", TE_ReadNum("m_iWeaponID")); + TE_WriteNum("m_weapon", TE_ReadNum("m_weapon")); TE_WriteNum("m_iMode", TE_ReadNum("m_iMode")); TE_WriteNum("m_iSeed", TE_ReadNum("m_iSeed")); TE_WriteNum("m_iPlayer", TE_ReadNum("m_iPlayer"));