Try the plugin like this.
Code:
new PLUGIN[]="Peep Show Server Settings"
new AUTHOR[]="Revelation"
new VERSION[]="1"
/* server_cmd("?") */
new sLive[64]="exec cfgs/live.cfg"
new sKnives[64]="exec cfgs/knives.cfg"
new sPublic[64]="exec cfgs/public.cfg"
new sWar[64]="exec cfgs/war.cfg"
new sRR[64]="sv_restartround 1"
/* REGISTER PLUGIN AND COMMANDS */
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("say /live","cmd_live",ADMIN_KICK,"execute the servers live.cfg")
register_concmd("say /knives","cmd_knives",ADMIN_KICK,"execute the servers knives.cfg")
register_concmd("say /public","cmd_public",ADMIN_KICK,"execute the servers public.cfg")
register_concmd("say /war","cmd_war",ADMIN_KICK,"execute the servers war.cfg")
register_concmd("say /rr","cmd_rr",ADMIN_KICK,"server command: sv_restartround 1")
}
/* EXEC LIVE.CFG */
public cmd_live(id, level, cid)
{
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
server_cmd(sLive)
server_exec()
return PLUGIN_HANDLED
}
__________________
Anything that is done can only be done better by urself - since life is a opinion make it the way urs feel its best
~live by it