Code:
/****************************************************
* This is a Hostage Safty Plugin
* This Plugin was created for AMXX v0.16
* Created By Burnzy
*
* Admin Commands:
* amx_hostagesafty <1|0>
*
* This plugin was made on request
* If all the hostages are killed, the cts are declared winners.
*
* Bugs:
* Ct's can kill the hostages, and they will still win... Not good to use yet
*
*****************************************************/
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>
public hostagesafty(id,level,cid){
if (!cmd_access(id,level,cid,2))
{
return PLUGIN_CONTINUE
}
return PLUGIN_HANDLED
}
public plugin_init()
{
register_plugin("Hostage Safty","v1.0","Burnzy")
register_concmd("amx_hostagesafty", "hostagesafty", ADMIN_LEVEL_C, "Ct's Win if Hostages Die")
}
__________________