Пробуй
1. Код
#include <sourcemod>
#include <sdktools>
public OnPluginStart()
{
RegConsoleCmd("hostage", RCC_Hostage);
}
public Action:RCC_Hostage(client, args)
{
new i = -1;
if ((i = FindEntityByClassname(-1, "hostage_entity")) != -1)
{
ForcePlayerSuicide(i);
}
return Plugin_Handled;
}
2. Код
#include <sourcemod>
public OnPluginStart()
{
HookEvent("hostage_killed", Event_OnHostageKilled, EventHookMode_Pre);
}
public Action:Event_OnHostageKilled(Handle:event, const String:name[], bool:silent)
{
if (!silent)
{
SetEventBroadcast(event, true);
}
}
3. good