Initialize gsclib library, this should be called at the start of your mod entry point.
main()
{
GSCLIB_Init();
}
Execute a system command.
System("ls");
Get the status of an async request (MySQL, CURL, FTP, HTTP).
0 = uninitialized 1 = pending 2 = successful 3 = failure
status = AsyncStatus(request);
Get the system time in milliseconds.
time = GetSysTime();
Exit the program.
Exit(0);
Print a formatted message to the console output.
a = "Iswenzz";
ComPrint("Hello World!");
ComPrint("Hello %s!", a);
Print a formatted message on a new line to the console output.
a = "Iswenzz";
ComPrintLn("Hello World!");
ComPrintLn("Hello %s!", a);
ComPrintLn();
Print a formatted message to the system output.
a = "Iswenzz";
SysPrint("Hello World!");
SysPrint("Hello %s!", a);
Print a formatted message on a new line to the system output.
a = "Iswenzz";
SysPrintLn("Hello World!");
SysPrintLn("Hello %s!", a);
SysPrintLn();
Get the CoD4X version.
version = CoD4X_Version();
Get the CGSC version.
version = CGSC_Version();
Get the gsclib version.
version = GSCLIB_Version();