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

◆ IsServerCheck()

bool Entity::IsServerCheck ( bool allow_client)
inlineprotected

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

2769 {
2770 if (g_Game.IsServer())
2771 return true;
2772
2773 if (allow_client)
2774 return true;
2775
2776 if (g_Game.IsClient() && g_Game.IsMultiplayer())
2777 {
2778 Error("Attempting to change variable client side, variables are supposed to be changed on server only !!");
2779 return false;
2780 }
2781
2782 return true;
2783 }
DayZGame g_Game
Определения DayZGame.c:3942
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

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

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