the "restart" command or "sv_restart" / "sv_restartround" ?
for "restart", you just register it...
PHP Code:
plugin_init()
{
register_srvcmd("restart", "cmd_restart")
}
public cmd_restart()
{
server_print("The command ^"restart^" used!")
return PLUGIN_CONTINUE // use PLUGIN_HANDLED if you want to block the command
}
And I think it works also for sv_restart[round]
__________________