DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
Normalize()
static
float
Normalize
(
int
val
,
int
maxVal
)
static
protected
См. определение в файле
MiscGameplayFunctions.c
строка
1590
1591
{
1592
if
(maxVal == 0)
1593
{
1594
Debug
.
LogError
(
"Division by 0 is not allowed"
);
1595
return
0;
1596
}
1597
1598
return
val / maxVal;
1599
}
Debug::LogError
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
Определения
Debug.c:245
Debug
Определения
Debug.c:2
Перекрестные ссылки
Debug::LogError()
.
Ishodniki
scripts
4_World
Static
MiscGameplayFunctions.c
Создано системой
1.13.2