|
发表于 2005-5-30 11:46:19
|
显示全部楼层
来自 中国–广东–肇庆
看来是已经改了的,再次感谢楼主!
public plugin_cfg() {
new configFile[64],curMap[32]
get_configsdir(configFile,31)
get_mapname(curMap,31)
new len = format(configFile,63,"%s/maps/%s.cfg",configFile,curMap)
if ( file_exists(configFile) )
set_task(6.1,"delayed_load",0,configFile,len+1)
else
set_task(6.1,"delayed_load",0,"server.cfg",len+1)
} |
|