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

◆ IsServerCheck()

bool Entity::IsServerCheck ( bool allow_client)
inlineprotected

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

2754 {
2755 if (g_Game.IsServer())
2756 return true;
2757
2758 if (allow_client)
2759 return true;
2760
2761 if (g_Game.IsClient() && g_Game.IsMultiplayer())
2762 {
2763 Error("Attempting to change variable client side, variables are supposed to be changed on server only !!");
2764 return false;
2765 }
2766
2767 return true;
2768 }
DayZGame g_Game
Определения DayZGame.c:4074
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

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

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