sv_test_cmds 1
then u can f2 grenade
tune explosion_strength 10
tune grenade_fire_delay 0
(?) Console()->Chain("sv_rcon_password", ConchainRconPasswordChange, this);
because sv_rcon_password is a varaible but a function must be called when it is changed (to log ppl out if they are authed with that password for example) Console()->Register("kick", "i[id] ?r[reason]", CFGFLAG_SERVER, ConKick, this, "Kick player with specified id for any reason");
c++
void CServer::ConchainRconPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
{
((CServer *)pUserData)->ConchainRconPasswordChangeGeneric(AUTHED_ADMIN, g_Config.m_SvRconPassword, pResult);
pfnCallback(pResult, pCallbackUserData);
}
(edited)pfnCallback(pResult, pCallbackUserData)
// TODO: remove this
#include "././game/variables.h"
lolkick name=12
and kick id=12
y
and n
as commands xdsv_kill_delay 0
?