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

◆ CommandlineGetParam()

proto bool CGame::CommandlineGetParam ( string name,
out string value )
private

Get command line parameter value.

Аргументы
nameof parameter
valueoutput
Возвращает
true when parameter exists, false otherwise
usage :
// you run e.g.: DayZInt.exe -scriptDebug=true
string value;
if (g_Game.CommandlineGetParam("scriptDebug", value) && value == "true")
{
Print("Script debugging on!");
}
DayZGame g_Game
Определения DayZGame.c:3942
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки name.

Используется в DayZGame().