


























Kill.m_RandomNumber anywhere?Kill.m_RandomNumber value you set in the upper if is unused, because the Kill object only exists within the scope of that ifKillMsgPlus you need to figure out which existing kill message it's supposed to apply to




Kill staticstatic CKillMsg s_Kill; add this above both ifs, then use s_Kill instead of the other two local Kill variablesm_RandomNumber) would again be undefined


m_RandomNumber to a know value that marks it as undefined after you add the kill message to the array with m_aKillmsgs[m_KillmsgCurrent] = Kill;

dbg_msgs if you just want to check if the message is received


Storage()->GetBinaryPath(PLAT_SERVER_EXEC, aBuf, sizeof(aBuf));
m_ServerProcess.Process = shell_execute(aBuf);
like this is the code already implemented to start a server.
i want to add a command like sv_name testmap that the server will start with a map WITHOUT USING configfile
Is there a way to append the command inline or to execute a command from client to started server?
I think only first idea will work because i can add information by startup but not after it because its get runned external, or? (edited)
