DayZ 1.27
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 (GetGame().CommandlineGetParam("scriptDebug", value) && value == "true")
{
Print("Script debugging on!");
}
proto bool CommandlineGetParam(string name, out string value)
Get command line parameter value.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.

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

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