GetCommandLine Function

Gets the full command line the server was launched with.

bool GetCommandLine(char[] commandLine, int maxlen)

Parameters

char[] commandLine

Buffer to store the command line in.

int maxlen

Maximum length of the command line buffer.

Return Value

True if the command line is valid; otherwise, false.

Errors

No command line available, or no mod support.