/* Plugin generated by AMXX-Studio */ #include #include #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("restartx", "restart") register_event("DeathMsg", "smierc", "ade") } public restart() { server_cmd("sv_restart 2") } public smierc() { new nazwaz[33]; new nazwao[33]; new vid; new id; new weapon_name[33]; id = read_data(1) vid = read_data(2) read_data(4, weapon_name, 32); get_user_name(vid, nazwao, 32); get_user_name(id, nazwaz, 32); set_hudmessage(85, 255, 85, -1.0, 0.4, 0, 6.0, 5.0) show_hudmessage(0, "%s zabil %s z %s", nazwaz, nazwao, weapon_name) }