202 {
203 string playerPrefix =
GetPlayerPrefix( player , player.GetIdentity() );
204 if (player.IsUnconscious())
205 LogPrint( playerPrefix +
" is disconnecting while being unconscious" );
206 else if (player.IsRestrained())
207 LogPrint( playerPrefix +
" is disconnecting while being restrained" );
208 }
void LogPrint(string message)
string GetPlayerPrefix(PlayerBase player, PlayerIdentity identity)