All these replies are great! Thank you @PC Gamer, @Sreaper, and @kking117. I finally got it to a point where it's 100% perfect for me, I fixed the sound and rounded the decimals. Although, there's one issue with GetClientMaxHealth() where it spams relentless errors for whatever reason. It works fine, but I don't know why it would be doing that. I am just reloading the plugin so it could just be because the map hasn't restarted. Will post an update on that once I restart the map and stuff.
Code:
L 08/14/2019 - 23:42:21: [SM] Exception reported: Element 361 is out of bounds (Prop m_iMaxHealth has 34 elements).
L 08/14/2019 - 23:42:21: [SM] Blaming: tf2-mushroom-health.smx
L 08/14/2019 - 23:42:21: [SM] Call stack trace:
L 08/14/2019 - 23:42:21: [SM] [0] GetEntProp
L 08/14/2019 - 23:42:21: [SM] [1] Line 301, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::GetClientMaxHealth
L 08/14/2019 - 23:42:21: [SM] [2] Line 187, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::MushroomTouch
L 08/14/2019 - 23:42:21: [SM] Exception reported: Element 1460 is out of bounds (Prop m_iMaxHealth has 34 elements).
L 08/14/2019 - 23:42:21: [SM] Blaming: tf2-mushroom-health.smx
L 08/14/2019 - 23:42:21: [SM] Call stack trace:
L 08/14/2019 - 23:42:21: [SM] [0] GetEntProp
L 08/14/2019 - 23:42:21: [SM] [1] Line 301, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::GetClientMaxHealth
L 08/14/2019 - 23:42:21: [SM] [2] Line 187, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::MushroomTouch
L 08/14/2019 - 23:42:24: [SM] Exception reported: Element 1570 is out of bounds (Prop m_iMaxHealth has 34 elements).
L 08/14/2019 - 23:42:24: [SM] Blaming: tf2-mushroom-health.smx
L 08/14/2019 - 23:42:24: [SM] Call stack trace:
L 08/14/2019 - 23:42:24: [SM] [0] GetEntProp
L 08/14/2019 - 23:42:24: [SM] [1] Line 301, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::GetClientMaxHealth
L 08/14/2019 - 23:42:24: [SM] [2] Line 187, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::MushroomTouch
L 08/14/2019 - 23:42:32: [SM] Exception reported: Element 1511 is out of bounds (Prop m_iMaxHealth has 34 elements).
L 08/14/2019 - 23:42:32: [SM] Blaming: tf2-mushroom-health.smx
L 08/14/2019 - 23:42:32: [SM] Call stack trace:
L 08/14/2019 - 23:42:32: [SM] [0] GetEntProp
L 08/14/2019 - 23:42:32: [SM] [1] Line 301, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::GetClientMaxHealth
L 08/14/2019 - 23:42:32: [SM] [2] Line 187, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::MushroomTouch
L 08/14/2019 - 23:42:32: [SM] Exception reported: Element 1460 is out of bounds (Prop m_iMaxHealth has 34 elements).
L 08/14/2019 - 23:42:32: [SM] Blaming: tf2-mushroom-health.smx
L 08/14/2019 - 23:42:32: [SM] Call stack trace:
L 08/14/2019 - 23:42:32: [SM] [0] GetEntProp
L 08/14/2019 - 23:42:32: [SM] [1] Line 301, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::GetClientMaxHealth
L 08/14/2019 - 23:42:32: [SM] [2] Line 187, /home/groups/sourcemod/upload_tmp/phpmSsr8n.sp::MushroomTouch
__________________