DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnLog()

void MissionBaseWorld::OnLog ( string msg_log)
inlineprotected

См. определение в файле missionBase.c строка 460

461 {
462 if ( PluginDeveloper.GetInstance() )
463 {
464 if ( GetGame().IsServer() && !GetGame().IsMultiplayer() )
465 {
466 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
467 }
468 else if ( GetGame().IsMultiplayer() && GetGame().IsClient() )
469 {
470 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
471 }
472 }
473 }
proto native CGame GetGame()

Перекрестные ссылки GetGame() и MissionBase::IsServer().