timho2242 發表於 2-8-2010 23:18:39

求/motd公告版sma檔

來源 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新增; 手榴彈掉落插件

就能用囉^^

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


http://i1007.photobucket.com/albums/af194/timho2242/222.png


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

tony987852 發表於 3-8-2010 18:17:51

入場時自動出現

劇情-KiTKiT 發表於 3-8-2010 22:12:30


new const VERSION[] = "1.0";

public plugin_init()
{
    register_plugin("Motd Plugin", VERSION, "1")

    register_clcmd("say /motd", "show_motd")
    register_clcmd("say_team /motd", "show_motd")
}

public show_motd(id)
{
    show_motd(id, "motd.txt")
}

劇情-KiTKiT 發表於 4-8-2010 17:40:57

#include <amxmodx>

new const VERSION[] = "1.0";

public plugin_init()
{
    register_plugin("Motd Plugin", VERSION, "1")

    register_clcmd("say /motd", "CMD_Motd")
    register_clcmd("say_team /motd", "CMD_Motd")
}

public CMD_Motd(id)
{
    show_motd(id, "motd.txt")
}

頁: [1]
查看完整版本: 求/motd公告版sma檔