Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

Join the forum, it's quick and easy

Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!
Team BlueWater Game Online Tutorial's
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Amx_Restart

Go down

Amx_Restart  Empty Amx_Restart

Post  Karma Mon Jul 18, 2011 1:31 am

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}
Karma
Karma
Admin
Admin

Mesaje : 1092
Data de inscriere : 2011-04-22
Varsta : 33
Localizare : Craiova

https://team-bluewater.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum