215 {
216 string playerPrefix =
GetPlayerPrefix( player , player.GetIdentity() );
217 if (player.IsUnconscious())
218 LogPrint( playerPrefix +
" is disconnecting while being unconscious" );
219 else if (player.IsRestrained())
220 LogPrint( playerPrefix +
" is disconnecting while being restrained" );
221 }
void LogPrint(string message)
string GetPlayerPrefix(PlayerBase player, PlayerIdentity identity)