搜索
查看: 2436|回复: 6

心静如水来看下,你给的开SXE杀人奖励插件不能编译

[复制链接]
发表于 2009-3-26 17:18:36 | 显示全部楼层 |阅读模式 来自 甘肃兰州
你给的代码不能编译啊:
#include <amxmodx>

new const nosxe[] = "[NO-sXe-I]"

public plugin_init(){
        register_plugin("sXekill","1.0", "A.MI")
        register_event("DeathMsg", "death", "a")
}

public death(){
        new killer = read_data(1)
        if(is_user_connected(killer)){
        new name[32]
        get_user_name(killer,name,31)
        if( contain( name, nosxe) != -1)
        return PLUGIN_CONTINUE
        
        cs_set_user_money(killer, cs_get_user_money(killer)+1000)
        client_print(0,print_chat,"* %s【...阳光明媚,鸟语花香...】",name)
        }
        return PLUGIN_CONTINUE
}

本帖子中包含更多资源

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

×
发表于 2009-3-27 00:15:58 | 显示全部楼层 来自 山西晋城
少个文件...你当然不能编译..
回复

使用道具 举报

发表于 2009-3-27 00:22:35 | 显示全部楼层 来自 云南西双版纳州景洪
#include <cstrike>
回复

使用道具 举报

 楼主| 发表于 2009-3-27 09:24:58 | 显示全部楼层 来自 甘肃兰州
哈哈,楼上2位正解,我真笨!!!谢谢2位!!!:victory:
回复

使用道具 举报

发表于 2009-3-28 17:40:31 | 显示全部楼层 来自 江西
少个什么文件呀?怎么不写出来
回复

使用道具 举报

 楼主| 发表于 2009-3-28 17:42:20 | 显示全部楼层 来自 甘肃兰州
少个什么文件呀?怎么不写出来
jinshumin 发表于 2009-3-28 17:40

你.............比我还笨......人家都已经写出来了,你就看不到???

就少“#include <cstrike>”这引号里的
回复

使用道具 举报

发表于 2009-10-6 19:13:28 | 显示全部楼层 来自 江西萍乡
恩 知道阿勒
回复

使用道具 举报

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

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