|
发表于 2009-4-24 09:31:01
|
显示全部楼层
|阅读模式
来自 中国–内蒙古–巴彦淖尔
if (get_cvar_num("amx_zombie_lightning") == 1) {
if (random_num(0,7) == 1) {
lastlights = 1
new rand = random_num(1,5)
switch (rand) {
case 1: set_lights("aaaaaaaaabcdefdbaa")
case 2: set_lights("aaaaaagcdaaaaaa")
case 3: set_lights("aaacdefdbaaaa")
case 4: set_lights("aaaabbbaaaa")
case 5: set_lights("aaaacbbcaaaab")
}
} else if (lastlights == 1) {
lastlights = 0
set_lights("aaaaaaaaaaaaaaaaaaabbbaaaa")
}
} else {
set_lights("a")
}
set_task(1.0, "check_zombies", 4578294)
return PLUGIN_CONTINUE
}
这是一个僵尸插件,光亮设置就是这段,原本设置很黑,我想调亮,amx_zombie_lightning 0 ,应该说关闭了,可不关用,改了几次没成功?请教高手? |
|