Having trouble figuring out how to go about this. Tried using if (TF2_IsPlayerInCondition(victim, TFCond_OnFire)), but it just logs an error about worldspawn, and m_nCond not found:
Code:
L 01/11/2014 - 21:44:12: [SM] Native "GetEntProp" reported: Property "m_nPlayerCond" not found (entity 0/worldspawn)
L 01/11/2014 - 21:44:12: [SM] Displaying call stack trace for plugin "hlstatstracking.smx":
L 01/11/2014 - 21:44:12: [SM] [0] Line 480, C:\Coding\addons\sourcemod\scripting\include\tf2_stocks.inc::TF2_IsPlayerInCondition()
So yeah. Bit of a stumper. I'd really love to be able to run a check on if the player was on fire at the time of death, but I can't figure out how to do it.