Page 1 of 1

gal zinot kuris failas

Posted: 2015 Oct 30 01:09
by laimiukas3
amxban gal zinot kuris butent failas atsako uz sita vieta kazkaip nerandu

Re: gal zinot kuris failas

Posted: 2015 Oct 30 02:24
by Terror
paieskok gal rasi. :D

Re: gal zinot kuris failas

Posted: 2015 Oct 30 02:25
by laimiukas3
tai ir darau bet nerandu ne jaskojas nerasyciau cia as ne BITE

Re: gal zinot kuris failas

Posted: 2015 Oct 30 02:28
by Terror
public_html/amxbans/include/admin/admin_sm_sv.php ir lygtis kazkas su rcon_hl_net.inc :D

Code: Select all

//rcon commands    if((isset($_POST["rconcommand"]) || isset($_POST["rconuserstart_".$sid])) && $sid) {        //to restrict rcon commands add it to the array        $denied_cmds=array("rcon_password","_restart","quit","restart","changelevel");        //defines how much packages for response (max), 0 for only 1 packet        $max_response_pages=0;        //pre defined rcon commands        if(isset($_POST["command"])) {            $pre = $_POST["command"];            switch($pre) {                //translate the rcon alias to the rcon command                case 'reload': $command="amx_reloadadmins";break;                case 'restart': $command="restart";$max_response_pages=3;break;                case 'status': $command="status";break;                case 'plugins': $command="amx_plugins";$max_response_pages=3;break;                case 'modules': $command="amx_modules";$max_response_pages=3;break;                case 'metalist': $command="meta list";break;                default: $command="";            }        }

Re: gal zinot kuris failas

Posted: 2015 Oct 30 13:28
by laimiukas3
Terror wrote:public_html/amxbans/include/admin/admin_sm_sv.php ir lygtis kazkas su rcon_hl_net.inc :D

Code: Select all

//rcon commands    if((isset($_POST["rconcommand"]) || isset($_POST["rconuserstart_".$sid])) && $sid) {        //to restrict rcon commands add it to the array        $denied_cmds=array("rcon_password","_restart","quit","restart","changelevel");        //defines how much packages for response (max), 0 for only 1 packet        $max_response_pages=0;        //pre defined rcon commands        if(isset($_POST["command"])) {            $pre = $_POST["command"];            switch($pre) {                //translate the rcon alias to the rcon command                case 'reload': $command="amx_reloadadmins";break;                case 'restart': $command="restart";$max_response_pages=3;break;                case 'status': $command="status";break;                case 'plugins': $command="amx_plugins";$max_response_pages=3;break;                case 'modules': $command="amx_modules";$max_response_pages=3;break;                case 'metalist': $command="meta list";break;                default: $command="";            }        }
aciu