From experience, TF2 handles maximum health differently and you might not get the values you expect from the client's
m_iMaxHealth property. The player resource entity should have the correct value:
Code:
stock int TF2_GetPlayerMaxHealth(int client) {
return GetEntProp(GetPlayerResourceEntity(), Prop_Send, "m_iMaxHealth", _, client);
}
__________________