|
public alert() {
client_print(0,print_chat,"***** 敬請注意!!!本服务器将于 10 秒后关闭!!!*****")
client_cmd(0,"spk ^"fvox/warning.wav^"")
}
public ten() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 10 秒..........")
client_cmd(0,"spk ^"fvox/ten.wav^"")
}
public nine() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 9 秒..........")
client_cmd(0,"spk ^"fvox/nine.wav^"")
}
public eight() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 8 秒..........")
client_cmd(0,"spk ^"fvox/eight.wav^"")
}
public seven() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 7 秒..........")
client_cmd(0,"spk ^"fvox/seven.wav^"")
}
public six() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 6 秒..........")
client_cmd(0,"spk ^"fvox/six.wav^"")
}
public five() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 5 秒..........")
client_cmd(0,"spk ^"fvox/five.wav^"")
}
public four() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 4 秒..........")
client_cmd(0,"spk ^"fvox/four.wav^"")
}
public three() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 3 秒..........")
client_cmd(0,"spk ^"fvox/three.wav^"")
}
public two() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 2 秒..........")
client_cmd(0,"spk ^"fvox/two.wav^"")
}
public one() {
client_print(0,print_chat,"..........本服务器关闭倒数计时 1 秒..........")
client_cmd(0,"spk ^"fvox/one.wav^"")
}
public zero() {
client_print(0,print_chat,".......................服务器已关闭........................")
client_cmd(0,"spk ^"fvox/safe_day.wav^"")
}
public quit_server() {
client_cmd(0,"retry",1.5)
//server_cmd("restart") //服务器重起命令
server_cmd("quit") //关闭服务器命令exit也可以。
}
|
|