francono1 发表于 2003-11-17 15:53:41

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

我的服务器总有人不积极,所有想装个插件,把游戏设置成死亡模式,包炸了,CT都得死,包没炸则T全体阵亡,希望高手帮忙做一个,谢谢啦!!!

周柏龄 发表于 2003-11-17 15:57:18

为什么在2000下,用了AMX后就刷不出服务器呢?

francono1 发表于 2003-11-17 15:57:56

1.如何设置循环判断,用什么参数作为判断条件,是不是象war3那样直接装上就可以了
2.如何活动每局的胜利信息从而判断任务的完成情况

x86 发表于 2003-11-17 17:09:11

team_objectives.amx        ;杀死败者组存活者

francono1 发表于 2003-11-18 09:09:29

谢谢啊!可以提供sma文件吗?想学习一下

francono1 发表于 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
    new len = read_data(2,param,31)
    set_task(1.0,"slaylosers",0,param, len + 1)
}

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

francono1 发表于 2003-11-24 09:37:13

谢谢
页: [1]
查看完整版本: [求助] 死亡战斗模式的插件