Цитата Maxee (
)
https://filecloud.me/t9xmp9vyut74.html
https://filecloud.me/t9xmp9vyut74.html NU VOT SMA FAIL YA ZAGRUZILДобавлено (19.09.2018, 16:58)
---------------------------------------------
#pragma semicolon 1
#pragma ctrlchar '\'
new Float:g_LastRestart[33];
bool:operator<(Float:,Float:)(Float:oper1, Float:oper2)
{
return 0 > floatcmp(oper1, oper2);
}
public plugin_init()
{
register_plugin("MixCMD by KANE", "2.0", "Alk");
register_clcmd("say /storage", "say_storage", 16, "", -1);
register_clcmd("say /inferno", "say_inferno", 16, "", -1);
register_clcmd("say /dust2", "say_dust2", 16, "", -1);
register_clcmd("say /dust2_hns", "say_dedust2hns", 16, "", -1);
register_clcmd("say /csassault", "say_assault", 16, "", -1);
return 0;
}
public say_storage(id)
{
if (!get_user_flags(id, 0) & 16)
{
return 0;
}
new Float:Time = halflife_time();
if (Time - g_LastRestart[id][0][0] < 10.00/*1092616192*/)
{
return 0;
}
g_LastRestart [id]= Time;
server_cmd("hns_hidetime 7; mp_roundtime 1.3; mp_forcecamera 2; hns_semiclip 1");
server_cmd("sv_restartround 1");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
set_hudmessage(255, 150, 0, 0.04, 0.47, 0, 6.00, 7.00, 0.10, 0.20, 4);
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
return 0;
}
public say_inferno(id)
{
if (!get_user_flags(id, 0) & 16)
{
return 0;
}
new Float:Time = halflife_time();
if (Time - g_LastRestart[id][0][0] < 10.00/*1092616192*/)
{
return 0;
}
g_LastRestart [id]= Time;
server_cmd("hns_hidetime 10; mp_roundtime 2.7; mp_forcecamera 2; hns_semiclip 0");
server_cmd("sv_restartround 1");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
set_hudmessage(255, 150, 0, 0.04, 0.47, 0, 6.00, 7.00, 0.10, 0.20, 4);
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
return 0;
}
public say_dust2(id)
{
if (!get_user_flags(id, 0) & 16)
{
return 0;
}
new Float:Time = halflife_time();
if (Time - g_LastRestart[id][0][0] < 10.00/*1092616192*/)
{
return 0;
}
g_LastRestart [id]= Time;
server_cmd("hns_hidetime 10; mp_roundtime 2.7; mp_forcecamera 2; hns_semiclip 1");
server_cmd("sv_restartround 1");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
set_hudmessage(255, 150, 0, 0.04, 0.47, 0, 6.00, 7.00, 0.10, 0.20, 4);
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
return 0;
}
public say_dedust2hns(id)
{
if (!get_user_flags(id, 0) & 16)
{
return 0;
}
new Float:Time = halflife_time();
if (Time - g_LastRestart[id][0][0] < 10.00/*1092616192*/)
{
return 0;
}
g_LastRestart [id]= Time;
server_cmd("hns_hidetime 10; mp_roundtime 3; mp_forcecamera 2; hns_semiclip 1");
server_cmd("sv_restartround 1");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
set_hudmessage(255, 150, 0, 0.04, 0.47, 0, 6.00, 7.00, 0.10, 0.20, 4);
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
show_hudmessage(0, "BY KANE");
return 0;
}
public say_assault(id)
{
if (!get_user_flags(id, 0) & 16)
{
return 0;
}
new Float:Time = halflife_time();
if (Time - g_LastRestart[id][0][0] < 10.00/*1092616192*/)
{
return 0;
}
g_LastRestart [id]= Time;
server_cmd("hns_hidetime 10; mp_roundtime 2.7; mp_forcecamera 2; hns_semiclip 0");
server_cmd("sv_restartround 1");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]");
client_print(0, print_chat, "[-Live Live Live! BY KANE-]")