|
一共有原版和处死两个版本
if ( maxafktime-WARNING_TIME <= g_afktime[id] < maxafktime) {
new timeleft = maxafktime - g_afktime[id]
client_print(id, print_chat, "【天泽在线混战服】你如果在不移动,服务器在剩余 %i 秒把你处死,请移动位置。", timeleft)
} else if (g_afktime[id] > maxafktime) {
new name[32]
get_user_name(id, name, 31)
client_print(0, print_chat, "【天泽在线混战服】%s 在 %i 秒内一直处于不动状态,服务器自动处死。", name, maxafktime)
log_amx("%s was killed for being AFK longer than %i seconds", name, maxafktime)
client_print(id,print_chat,"你在 %i 秒内一直不动,服务器自动把你处死",maxafktime)
client_cmd(id,"kill")
}
|
|