SM-TFUtils
SM-TFUtils copied to clipboard
[Windows] GetPlayerObjectCount returning incorrect values and GetPlayerObject crashing the server
Cause is wrong CTFPlayer::m_aObjects offset.
Diff:
@@ -41,7 +41,7 @@
"windows"
{
"signature" "CTFPlayer::AddObject()"
- "offset" "37"
+ "offset" "53"
}
}
"offsetof(CTFPlayer::m_flRespawnTimeOverride)"