All pastes #76106 Raw Edit

Someone

public cpp v1 · immutable
·published 2006-07-01 01:54 UTC
rendered paste body
    char pServerGameDLLVer[MAX_COMMAND_STRING];    if (engine)    {        for (int i=3;i<999;i++)        {            sprintf(pServerGameDLLVer, "ServerGameDLL%03d", i);            m_ServerDll = (IServerGameDLL *)gameServerFactory(pServerGameDLLVer, NULL);            if (m_ServerDll)            {                DxMsg(0,"[EventScripts] Using %s for game.\n", pServerGameDLLVer);                break;            }        }           }    if ( !m_ServerDll)    {        Warning ("Failure in getting the serverDLL interface.\n");    }