Amx_Restart
Team BlueWater Game Online Tutorial's :: MMORPG Zone :: Counter Strike :: Pluginuri si cereri :: AmxModx
Page 1 of 1
Amx_Restart
include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("Amx Restart", "1.0", "Sim Master");
register_concmd("amx_restart", "cmdRr", ADMIN_KICK, "- da restart");
}
public cmdRr(id, level,cid)
{
if(!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
new arg[32];
read_argv(1, arg,31)
server_cmd("sv_restart %s", arg);
client_print(id, print_chat, "Serverul se va restarta in %s secunde", arg);
return PLUGIN_HANDLED}
Team BlueWater Game Online Tutorial's :: MMORPG Zone :: Counter Strike :: Pluginuri si cereri :: AmxModx
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|