|
发表于 2008-11-18 09:18:50
|
显示全部楼层
来自 中国–四川–遂宁
回复: [求助]服务器中文名字后=游戏=处怎么显示中文?附图:
Post by 野猪
我在你的网盘里面没有找到,直接发出来给我们共享一下可以吗?谢了! [php]#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
public plugin_init()
{
register_plugin("Game Namer","Version 1.0","NeuroToxin");
register_cvar("amx_gamename","就是这里!!");
register_forward(FM_GetGameDescription,"GameDesc");
}
public GameDesc()
{
new gamename[32];
get_cvar_string("amx_gamename",gamename,31);
forward_return(FMV_STRING,gamename);
return FMRES_SUPERCEDE;
}[/php] |
|