下面是引用 i-c0112 於 2011-03-12 16:40 發表的 :
可能要加個條件吧
複製程式
......
randoms = fnGetRandomAliveHuman(random_num(1, fnGetAliveHuman()))
if (randoms <= 0)
return;
......
randoms = fnGetRandomAliveHuman(random_num(1, fnGetAliveHuman()))
get_user_name(randoms, temp, 64)
client_print(0 , print_center, "[%s] 已被选定为【救世主】", temp);
改为
randoms = fnGetRandomAliveHuman(random_num(1, fnGetAliveHuman()))
if (randoms <= 0)
return;
client_print(0 , print_center, "[%s] 已被选定为【救世主】", temp);
????