|
发表于 2005-2-24 04:27:30
|
显示全部楼层
来自 中国–广西–钦州
monstermapcfgmaker.amxx里面的.
//Writes the Precache.cfg for the map
format(directory,199,"/addons/monster/config/%s_precache.cfg", mapname)
format ( vaultdata1, 511, "%s", monstername )
write_file(directory,vaultdata1,-1)
//
// Writes the monster.cfg for the map
format(allowfilepath,250,"/addons/monster/config/%s_monster.cfg", mapname)
format (vaultdata2, 511, "{")
write_file(allowfilepath,vaultdata2,-1)
format (vaultdata2, 511, "origin/%d %d %d", i_origin[0], i_origin[1], i_origin[2] )
write_file(allowfilepath,vaultdata2,-1)
if (delay ==0 ) delay = 20
format (vaultdata2, 511, "delay/%d" ,delay)
write_file(allowfilepath,vaultdata2,-1)
这个怎么弄? |
|