搜索
查看: 11467|回复: 50

[AMXX 带源码] 創意無限的文字廣告插件,需要的頂一下

[复制链接]
发表于 2009-4-27 12:21:05 | 显示全部楼层 |阅读模式 来自 广东东莞
本帖最后由 yangxi2008 于 2009-4-27 12:23 编辑

命令:

使用 @group (列子)
- 所有玩家: @A or @ALL
- 反恐精英: @C, @CT or @COUNTER
- 恐怖分子: @T, @TE, @TERROR or @TERRORIST

amx_server_msg <authid, nick, @group or #userid> <msg number>
-  server_messages.txt

amx_server_rule <authid, nick, @group or #userid> <rule number>
- shows a specific rules from the server_messages.txt

amx_server_info <authid, nick, @group or #userid> <info number>
- shows a specific informations from the server_messages.txt

amx_custom_msg <authid, nick, @group or #userid> <msg> <optional: mode> <optional: style (only if mode set to 4)>
- shows a custom messages to a client or group

amx_list_msg
- shows a list of all server messages that are saved in the server_messages.txt

amx_list_rule
- shows a list of all server rules that are saved in the server_messages.txt

amx_list_info
- shows a list of all server informations that are saved in the server_messages.txt

配置文件:
server_msg_mode "3"
- print location for messages (0 - console, 1 - chat, 2 - center, 3 - hud, 4 - tutor)

server_rule_mode "4"
- print location for rules (0 - console, 1 - chat, 2 - center, 3 - hud, 4 - tutor)

server_info_mode "4"
- print location for informations (0 - console, 1 - chat, 2 - center, 3 - hud, 4 - tutor)

server_msg_style "0"
- style of the tutor by messages (0 - default information, 1 - friend died, 2 - enemy died, 3 - scenario, [4 - buy, 5 - career, 6 - hint, 7 - ingame hint, 8 - endgame])

server_rule_style "3"
- style of the tutor by messages

server_info_style "0"
- style of the tutor by messages

server_msg_ondeath "1"
- shows automatically a message on dead players

server_rule_ondeath "1"
- shows automatically a rule on dead players

server_info_ondeath "1"
- shows automatically a information on dead players

server_msg_time "8"
- how long should be displayed a message (seconds)

server_msg_delay "15"
- time between two called messages
英文的我懶得翻譯了  我把中文翻譯放出來,其他的自己去翻譯

  1. [cn]
  2. SERVER_MSG_1 = 你可以添加自己的信息.\n在server_messages.txt文件里.\n (./cstrike/addons/amxmodx/data/lang/server_messages.txt)
  3. SERVER_MSG_2 = 你可以添加更多的信息.\n请使用连续编号.
  4. SERVER_MSG_3 = Hello 各位的玩家.
  5. SERVER_RULE_1 = 作弊将导致永久封禁IP.
  6. SERVER_RULE_2 = 不允许发广告信息和按麦克风乱讲话.\n捣乱别人游戏
  7. SERVER_RULE_3 = 禁止故意伤害队友和杀害队友.\n这样的行为管理有权封禁.\n时间长短由管理员决 定.
  8. SERVER_INFO_1 = 从这里下载服务器的声音文件^nhttp://www.XXX.XXX.XXX
  9. SERVER_INFO_2 = 访问我们论坛^nhttp://www.XXX.XXX.XXX
  10. SERVER_INFO_3 = 阅读服务器规则.
  11. MSG_NO_ACCESS = [AMXX] 你还没有进入改命令.
  12. MSG_NO_CLIENT = [AMXX] 没有发现一个玩家.
  13. MSG_ERROR_SEARCH = [ERROR] 无法设置搜索参数.
  14. MSG_ERROR_NUMBER = [ERROR] 第二个信息必须是一个数字,执行 "amx_server_help" 显示使用方法.
  15. MSG_ERROR_FILE = [ERROR] 找不到文件. (%s)
  16. MSG_ERROR_TEXT = [ERROR] 没找到信息. 执行 "amx_server_help" 显示使用方法.
  17. MSG_PRINT_LOG = %s 这是管理员使用的命令''%s %s %s''.
  18. MSG_SEND_LOG = %s 管理员 %s 的信息. ^n信息: "%s" ^n模式:"%i" ^n类型: "%i".
  19. MSG_START_MSG_LISTING = 服务器信息
  20. MSG_START_RULE_LISTING = 服务器规则
  21. MSG_START_INFO_LISTING = 服务器信息
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
发表于 2009-4-27 12:23:14 | 显示全部楼层 来自 广东韶关
太显眼了。。。。。
回复

使用道具 举报

发表于 2009-4-27 15:52:50 | 显示全部楼层 来自 广东深圳
我怎么编译不了!??!
回复

使用道具 举报

发表于 2009-4-27 20:06:26 | 显示全部楼层 来自 广东佛山
加载成功了 可是显示的全是乱码
回复

使用道具 举报

发表于 2009-4-27 22:01:48 | 显示全部楼层 来自 河南三门峡
这东西看起来不错
收藏了先
回复

使用道具 举报

发表于 2009-4-27 22:02:27 | 显示全部楼层 来自 河南三门峡
至于显示乱码的问题  你可以把文档保存成UTF-8格式
推荐你使用NOTEPAD2
回复

使用道具 举报

发表于 2009-4-27 22:47:16 | 显示全部楼层 来自 广东深圳
看样子不错,可以代替原来的广告了
回复

使用道具 举报

发表于 2009-4-27 22:48:04 | 显示全部楼层 来自 广东茂名
不错。。。支持一下。留个位置回头拿
回复

使用道具 举报

发表于 2009-4-27 23:42:50 | 显示全部楼层 来自 广东佛山
还是一样 保存为UTF8了 也用你推荐的另存了一下 还是一样 乱码...

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

发表于 2009-4-28 04:31:05 | 显示全部楼层 来自 广东深圳
这插件使用ansi 右上角部分显示中文,左下因为用了ansi编码当然是无法显示中文了。
如果用UTF8的话右上角的信息是显示乱码。左下角的信息显示中文。。。。。。
真不知道怎么解决呢。。
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表