搜索
楼主: zwwb008

求个CS界面直接进服务器插件,万分感谢!

[复制链接]
发表于 2012-2-11 12:09:28 | 显示全部楼层 来自 江苏镇江
哪个有呀,,我也想要一个。。
回复

使用道具 举报

发表于 2012-2-15 15:16:54 | 显示全部楼层 来自 广东广州
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2012-2-17 01:16:56 | 显示全部楼层 来自 内蒙古呼伦贝尔

GameMenu_changer.sma

本帖最后由 99fps 于 2012-2-17 01:32 编辑

源码名称:GameMenu_changer.sma
源码中包含的IP:222.73.218.188:27011 = 雪夜蓝天 =上海SXE混战服 * 群号:34521334 *
你也可以向css(qq307794959)要一个他们嵌入式的插件或者源码。
嵌入式服务器:csgo.gnway.net:27015 1#中国嵌入式团队训练营-淄博 *群93035841 43825416 42500293*






/*
Create a file on your server like this:
cstrike/resource/GameMenu.res

It doesn't matter what you write in there, it's gonna be overwritten anyway.
It just has to be there or the plugin will fail on clients that don't have the file.

Change g_ServerName[] and g_ServerIp[] to the desired values, be sure to write between the " "s.
*/

#include <amxmodx>

#define VERSION "1.3.3.7"

new g_ServerName[] = "= 雪夜蓝天 =2#娱乐服";
new g_ServerIp[] = "222.73.218.188:27011";

new szText[1200];

public plugin_precache()
        precache_generic("resource/GameMenu.res");

public plugin_init()
{
        register_plugin("GameMenu changer", VERSION , "Unknown");
       
        new size = sizeof(szText) - 1;
        format(szText, size, "^"GameMenu^" { ^"1^" { ^"label^" ^"%s^"", g_ServerName);
        format(szText, size, "%s ^"command^" ^"engine Connect %s^"", szText, g_ServerIp);
        format(szText, size, "%s } ^"2^" { ^"label^" ^"^" ^"command^" ^"^" }", szText);
        format(szText, size, "%s ^"3^" { ^"label^" ^"#GameUI_GameMenu_ResumeGame^"", szText);
        format(szText, size, "%s ^"command^" ^"ResumeGame^" ^"OnlyInGame^" ^"1^" }", szText);
        format(szText, size, "%s ^"4^" { ^"label^" ^"#GameUI_GameMenu_Disconnect^"", szText);
        format(szText, size, "%s ^"command^" ^"Disconnect^" ^"OnlyInGame^" ^"1^"", szText);
        format(szText, size, "%s ^"notsingle^" ^"1^" } ^"5^" { ^"label^" ^"#GameUI_GameMenu_PlayerList^"", szText);
        format(szText, size, "%s ^"command^" ^"OpenPlayerListDialog^" ^"OnlyInGame^" ^"1^" ^"notsingle^" ^"1^"", szText);
        format(szText, size, "%s } ^"9^" { ^"label^" ^"^" ^"command^" ^"^" ^"OnlyInGame^" ^"1^" }", szText);
        format(szText, size, "%s ^"10^" { ^"label^" ^"#GameUI_GameMenu_NewGame^" ^"command^" ^"OpenCreateMultiplayerGameDialog^"", szText);
        format(szText, size, "%s } ^"11^" { ^"label^" ^"#GameUI_GameMenu_FindServers^" ^"command^" ^"OpenServerBrowser^"", szText);
        format(szText, size, "%s } ^"12^" { ^"label^" ^"#GameUI_GameMenu_Options^" ^"command^" ^"OpenOptionsDialog^"", szText);
        format(szText, size, "%s } ^"13^" { ^"label^" ^"#GameUI_GameMenu_Quit^" ^"command^" ^"Quit^" } }", szText);
}

public client_putinserver (id)
        set_task(3.0, "TaskChangeMenu", id);

public TaskChangeMenu(id)
{
        client_cmd(id, "motdfile ^"resource/GameMenu.res^"");
        client_cmd(id, "motd_write %s", szText);
        client_cmd(id, "motdfile ^"motd.txt^"");
}

本帖子中包含更多资源

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

×
回复

使用道具 举报

发表于 2012-2-17 14:59:01 | 显示全部楼层 来自 广东东莞
相信楼主的说,非常支持你











回复

使用道具 举报

发表于 2012-2-24 18:41:29 | 显示全部楼层 来自 广东梅州
现在不只是多出一行,多出3-4行(3-4个链接)都可以了
回复

使用道具 举报

发表于 2012-8-2 23:26:05 | 显示全部楼层 来自 广东深圳
现在不只是多出一行,多出3-4行(3-4个链接)都可以了
回复

使用道具 举报

发表于 2013-1-20 12:50:41 | 显示全部楼层 来自 山东
ps90025500 发表于 2012-2-11 12:09
哪个有呀,,我也想要一个。。

/*
Create a file on your server like this:
cstrike/resource/GameMenu.res

It doesn't matter what you write in there, it's gonna be overwritten anyway.
It just has to be there or the plugin will fail on clients that don't have the file.

Change g_ServerName[] and g_ServerIp[] to the desired values, be sure to write between the " "s.
*/

#include <amxmodx>

#define VERSION "1.3.3.7"

new g_ServerName[] = "连接【中国嵌入式训练营-主战场】服务器";
new g_ServerIp[] = "csgo.gnway.net:27015";

new szText[1200];

public plugin_precache()
        precache_generic("resource/GameMenu.res");

public plugin_init()
{
        register_plugin("GameMenu changer 43825416", VERSION , "Unknown");
       
        new size = sizeof(szText) - 1;
        format(szText, size, "^"GameMenu^" { ^"1^" { ^"label^" ^"%s^"", g_ServerName);
        format(szText, size, "%s ^"command^" ^"engine Connect %s^"", szText, g_ServerIp);
        format(szText, size, "%s } ^"2^" { ^"label^" ^"连接【中国嵌入式训练营-生化界】服务器^" ^"command^" ^"engine Connect csgo.gnway.net:27016^" }", szText);
        format(szText, size, "%s ^"3^" { ^"label^" ^"#GameUI_GameMenu_ResumeGame^"", szText);
        format(szText, size, "%s ^"command^" ^"ResumeGame^" ^"OnlyInGame^" ^"1^" }", szText);
        format(szText, size, "%s ^"4^" { ^"label^" ^"#GameUI_GameMenu_Disconnect^"", szText);
        format(szText, size, "%s ^"command^" ^"Disconnect^" ^"OnlyInGame^" ^"1^"", szText);
        format(szText, size, "%s ^"notsingle^" ^"1^" } ^"5^" { ^"label^" ^"#GameUI_GameMenu_PlayerList^"", szText);
        format(szText, size, "%s ^"command^" ^"OpenPlayerListDialog^" ^"OnlyInGame^" ^"1^" ^"notsingle^" ^"1^"", szText);
        format(szText, size, "%s } ^"9^" { ^"label^" ^"^" ^"command^" ^"^" ^"OnlyInGame^" ^"1^" }", szText);
        format(szText, size, "%s ^"10^" { ^"label^" ^"#GameUI_GameMenu_NewGame^" ^"command^" ^"OpenCreateMultiplayerGameDialog^"", szText);
        format(szText, size, "%s } ^"11^" { ^"label^" ^"#GameUI_GameMenu_FindServers^" ^"command^" ^"OpenServerBrowser^"", szText);
        format(szText, size, "%s } ^"12^" { ^"label^" ^"#GameUI_GameMenu_Options^" ^"command^" ^"OpenOptionsDialog^"", szText);
        format(szText, size, "%s } ^"13^" { ^"label^" ^"#GameUI_GameMenu_Quit^" ^"command^" ^"Quit^" } }", szText);
}

public client_putinserver (id)
        set_task(3.0, "TaskChangeMenu", id);

public TaskChangeMenu(id)
{
        client_cmd(id, "motdfile ^"resource/GameMenu.res^"");
        client_cmd(id, "motd_write %s", szText);
        client_cmd(id, "motdfile ^"motd.txt^"");
}
回复

使用道具 举报

发表于 2013-1-20 12:51:57 | 显示全部楼层 来自 山东
css 发表于 2013-1-20 12:50
/*
Create a file on your server like this:
cstrike/resource/GameMenu.res

如果 要 更多行 ,需要 用 ue编辑 ,字符 确实 有限制 ,把 每行字符 缩小 就可以了 ,
回复

使用道具 举报

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

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