过sxe死后复活?
自己这几天发现服务器出现一些怪现像,没有开死后复活插件,但发现有一位玩家死了之后就复活,其它玩家不会,服务器开了sxe4.6谁有同样的情况,还有提示英文
玩家ID respawned, having 10 lives left!
回复: 过sxe死后复活?
那是因为安装了lastmanbets赌博插件的缘故。用UE32打开源码,见:
client_print(0, print_chat, "%s respawned, having %d li%s left!", name2, g_extralives], g_extralives] == 1 ? "fe" : "ves")
赌博插件额外增加了奖励复活,奖励生命值和奖励装甲值,见:
.....
new g_extralives = {0, ...}
new g_extrahealth = {0, ...}
new g_extraarmour = {0, ...}
.......
switch (theprize) {
case 1: {
g_extralives += prizes
}
case 2: {
g_extrahealth += prizes
}
case 3: {
g_extraarmour += prizes
}
default: {
console_print(id, "Only 1-3 works...")
return PLUGIN_HANDLED
}
页:
[1]