|
发表于 2008-9-24 18:46:35
|
显示全部楼层
来自 中国–福建–漳州
回复: 想分离投票命令,大家给个思路就行
修改adminvote.sma和mapsmenu.sma.
adminvote.sma中,把如下内容:
register_concmd("amx_votemap", "cmdVoteMap", ADMIN_VOTE, "<map> [map] [map] [map]")
register_concmd("amx_votekick", "cmdVoteKickBan", ADMIN_VOTE, "<name or #userid>")
register_concmd("amx_voteban", "cmdVoteKickBan", ADMIN_VOTE, "<name or #userid>")
修改为
register_concmd("amx_votemap", "cmdVoteMap", ADMIN_LEVEL_B, "<map> [map] [map] [map]")
register_concmd("amx_votekick", "cmdVoteKickBan", ADMIN_LEVEL_A, "<name or #userid>")
register_concmd("amx_voteban", "cmdVoteKickBan", ADMIN_VOTE, "<name or #userid>")
mapsmenu.sma中,把如下内容:
register_clcmd("amx_votemapmenu", "cmdVoteMapMenu", ADMIN_VOTE, "- displays votemap menu")
修改为:
register_clcmd("amx_votemapmenu", "cmdVoteMapMenu", ADMIN_LEVEL_B, "- displays votemap menu") |
|