搜索
查看: 2022|回复: 7

[求助] 死亡战斗模式的插件

[复制链接]
发表于 2003-11-17 15:53:41 | 显示全部楼层 |阅读模式 来自 山西大同
我的服务器总有人不积极,所有想装个插件,把游戏设置成死亡模式,包炸了,CT都得死,包没炸则T全体阵亡,希望高手帮忙做一个,谢谢啦!!!
发表于 2003-11-17 15:57:18 | 显示全部楼层 来自 陕西西安
为什么在2000下,用了AMX后就刷不出服务器呢?
回复

使用道具 举报

 楼主| 发表于 2003-11-17 15:57:56 | 显示全部楼层 来自 山西大同
1.如何设置循环判断,用什么参数作为判断条件,是不是象war3那样直接装上就可以了
2.如何活动每局的胜利信息从而判断任务的完成情况
回复

使用道具 举报

发表于 2003-11-17 17:09:11 | 显示全部楼层 来自 湖北襄阳
team_objectives.amx        ;杀死败者组存活者

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2003-11-18 09:09:29 | 显示全部楼层 来自 山西大同
谢谢啊!可以提供sma文件吗?想学习一下
回复

使用道具 举报

 楼主| 发表于 2003-11-20 15:59:37 | 显示全部楼层 来自 山西大同
再求此插件源码,交流、学习一下。
回复

使用道具 举报

发表于 2003-11-23 18:40:08 | 显示全部楼层 来自 黑龙江佳木斯
/* AMX Mod script.
*
* (c) Copyright 2002-2003, OLO
* This file is provided as is (no warranties).
*
* Slay losing team when:
* o CT defuse the bomb (de_ map)
* o CT save the target (de_ map)
* o T destroy the target (de_ map)
* o CT rescue hostage (cs_ map)
* o T prevent from hostage rescue (cs_ map)
*/

#include <amxmod>

public plugin_init(){
    register_plugin("Team Objectives","0.9","default")
    register_event("SendAudio","delayslay","a","2=%!MRAD_terwin","2=%!MRAD_ctwin")
}

public delayslay(){
    new param[32]
    new len = read_data(2,param,31)
    set_task(1.0,"slaylosers",0,param, len + 1)
}

public slaylosers(param[]) {
    new players[32], playersnum
    get_players(players,playersnum,"ea",(param[7] == 't') ? "CT" : "TERRORIST" )
    for(new a = 0; a < playersnum; ++a)
        user_kill(players[a])
    if (playersnum)
        client_print(0,print_center,"Killing losing team!!!")
}
回复

使用道具 举报

 楼主| 发表于 2003-11-24 09:37:13 | 显示全部楼层 来自 山西大同
谢谢
回复

使用道具 举报

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

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