找回密碼
 註冊
[日本手機遊戲APPS下載] 手機遊戲專區 熱門短片

型男索女 
查看: 3804|回復: 3

求/motd公告版sma檔

  [複製鏈接]
發表於 2-8-2010 23:18:39 | 顯示全部樓層 |閱讀模式
來源 http://bbs-mychat.com/reads.php?tid=745844&keyword=%2Fmotd

-------------------------------------------------------------------------------------------------------------------------------------------------
引用


/motd公告版就是你在遊戲中打/motd就會有公告版訊息

就是剛進入遊戲都會有個視窗

例如DcOo的 歡迎來到狄庫 那樣 字樣可以自己編輯

可以打一些規則或是你想打的讓玩家自己看 這樣就省了很多每次都要跟玩家講的麻煩

可以在 custommenuitems.cfg 新增 menu選單讓玩家選

像這樣 amx_addclientmenuitem "公告〃公告版(必看!!!!)" "say /motd" "abcdefghijklmnopqrstuz" "StatsX"

每個人的 cstrike 跟 cstrike_tchinese 應該有有一個叫做motd的筆記本

可以編輯它的文字,不過字數有限制喔 ,記得兩邊的motd筆記本都要覆蓋過去才有喔

如果不會編輯下面我還提供一個我的motd範例

那幾行就是字數的最大極限 超過就不能再打了


把amxx丟到plugins 再到 plugins.cfg新增; 手榴彈掉落插件

就能用囉^^

---------------------------------------------------------------------------------------------------------------------------------------------------





有冇以上amxx既sma檔???
或者都係會出以上視窗公告amxx
回復

使用道具 舉報

發表於 3-8-2010 18:17:51 | 顯示全部樓層
入場時自動出現
回復 支持 反對

使用道具 舉報

發表於 3-8-2010 22:12:30 | 顯示全部樓層

  1. new const VERSION[] = "1.0";

  2. public plugin_init()
  3. {
  4.     register_plugin("Motd Plugin", VERSION, "1")

  5.     register_clcmd("say /motd", "show_motd")
  6.     register_clcmd("say_team /motd", "show_motd")
  7. }

  8. public show_motd(id)
  9. {
  10.     show_motd(id, "motd.txt")
  11. }  
複製代碼
回復 支持 反對

使用道具 舉報

發表於 4-8-2010 17:40:57 | 顯示全部樓層
  1. #include <amxmodx>

  2. new const VERSION[] = "1.0";

  3. public plugin_init()
  4. {
  5.     register_plugin("Motd Plugin", VERSION, "1")

  6.     register_clcmd("say /motd", "CMD_Motd")
  7.     register_clcmd("say_team /motd", "CMD_Motd")
  8. }

  9. public CMD_Motd(id)
  10. {
  11.     show_motd(id, "motd.txt")
  12. }
複製代碼


motd.sma (287 Bytes, 下載次數: 1155)
回復 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

小黑屋|Archiver|手機版|Nakuz.com |網站地圖

GMT+8, 4-5-2025 18:36 , Processed in 0.025882 second(s), 14 queries , MemCache On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表