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

◆ IsServerCheck()

bool Entity::IsServerCheck ( bool allow_client)
inlineprotected

См. определение в файле 3_Game/Entities/EntityAI.c строка 2724

2725 {
2726 if (g_Game.IsServer())
2727 return true;
2728
2729 if (allow_client)
2730 return true;
2731
2732 if (GetGame().IsClient() && GetGame().IsMultiplayer())
2733 {
2734 Error("Attempting to change variable client side, variables are supposed to be changed on server only !!");
2735 return false;
2736 }
2737
2738 return true;
2739 }
DayZGame g_Game
Определения DayZGame.c:3868
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), g_Game и GetGame().

Используется в SetTemperature(), SetTemperatureDirect() и SetTemperatureEx().