搜索
查看: 1811|回复: 2

rulzy_ipinfo.sma 编辑出现问题

[复制链接]
发表于 2008-3-10 05:25:28 | 显示全部楼层 |阅读模式 来自 中国–湖南–怀化–鹤城区
编辑插件出现问题


// AMXXPC compile.exe
// by the AMX Mod X Dev Team
// Fixed by Rulzy.


//// rulzy_ipinfo.sma
// C:\Documents and Settings\wxlc_user\桌面\scripting\rulzy_ipinfo.sma(2) : fata
l error 100: cannot read from file: "rulzy_ipinfo"
//
// Compilation aborted.
// 1 Error.
// Could not locate output file C:\Documents and Settings\wxlc_user\桌面\scripti
ng\compiled\rulzy_ipinfo.amx (compile failed).
//
// Compilation Time: 0.03 sec
// ----------------------------------------
Press Enter to exit ...



[PHP]#include <amxmodx>
#include <rulzy_ipinfo>
public client_connect(id)
{
new ip[20], country[40], area[136], name[32];
get_user_name(id, name, 31);
get_ipinfo(ip, country, area, 39, 135);
client_print(0, print_chat, "欢迎 %s,来自 %s%s。", name, country, area);
}[/PHP]


不知道到底是那错了 郁闷郁闷
发表于 2008-3-10 17:26:26 | 显示全部楼层 来自 中国–福建–漳州

回复: rulzy_ipinfo.sma 编辑出现问题

rulzy_ipinfo.inc 有没有放到 include 文件夹下?

另外,sma文件名不要使用rulzy_ipinfo.sma看看,因为包含的文件名名称也是rulzy_ipinfo,不知道是不是这个原因。
回复

使用道具 举报

 楼主| 发表于 2008-3-11 08:09:35 | 显示全部楼层 来自 中国–湖南–怀化–鹤城区

回复: rulzy_ipinfo.sma 编辑出现问题

这插件是不是必须要装IP数据库才可以使用?
回复

使用道具 举报

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

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