Поиск Plugin? Edit: Got It [Enemies Left]

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
213
Реакции
71
Помог
2 раз(а)
10 Terrorists Left
09 Terrorists Left

08 Counter-Terrorists Left
07 Counter-Terrorists Left

Shown Only, When someone Kill !!

If it don't exist can anyone make it?

------------------------------------------------

I found it, its associated with miscstats.sma/.amxx
OR
You can Try This:

Код:
#include <amxmodx>
#include <hamsandwich>

#define PLUGIN "Enemies Left"
#define VERSION "31/12/2018"
#define AUTHOR "raizo11"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    RegisterHam(Ham_Killed, "player", "PlayerKilled", 1)
}

public PlayerKilled(id)
{
    static X[32], Y[32], XNum, YNum
    get_players(X, XNum, "ae", "TERRORIST")
    get_players(Y, YNum, "ae", "CT")

    set_dhudmessage(110, 55, 110, -1.0, 0.70, 1, 0.1, 3.0, 0.1, 2.0)
    show_dhudmessage(0, "TERO %d  -  CT %d!", XNum, YNum)
}

Код:
#include <amxmodx>
#include <hamsandwich>
#include <dhudmessage>

#define PLUGIN "Enemies Left"
#define VERSION "31/12/2018"
#define AUTHOR "raizo11"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    RegisterHam(Ham_Killed, "player", "PlayerKilled", 1)
}

public PlayerKilled(id)
{
    static X[32], Y[32], XNum, YNum
    get_players(X, XNum, "ae", "TERRORIST")
    get_players(Y, YNum, "ae", "CT")

    set_dhudmessage(110, 55, 110, -1.0, 0.70, 1, 0.1, 3.0, 0.1, 2.0, false)
    show_dhudmessage(0, "TERO %d  -  CT %d!", XNum, YNum)
}
 
Последнее редактирование:
Сообщения
1,420
Реакции
2,511
Помог
58 раз(а)
ReAPI + 1.9.0 + HUD instead of DHUD version of the plugin above.

Код:
/*
* Author: https://t.me/twisternick
* Request: https://dev-cs.ru/threads/4792/
*/

#include <amxmodx>
#include <amxmisc>
#include <reapi>

#pragma semicolon 1

#define PLUGIN_VERSION "1.0"

/****************************************************************************************
****************************************************************************************/

new g_iSyncMessage;

public plugin_init()
{
    register_plugin("Enemies Left", PLUGIN_VERSION, "w0w");

    RegisterHookChain(RG_CBasePlayer_Killed, "refwd_PlayerKilled_Post", true);
    g_iSyncMessage = CreateHudSyncObj();
}

public refwd_PlayerKilled_Post()
{
    new iTs = get_playersnum_ex(GetPlayers_ExcludeDead|GetPlayers_MatchTeam, "TERRORIST");
    new iCTs = get_playersnum_ex(GetPlayers_ExcludeDead|GetPlayers_MatchTeam, "CT");

    set_hudmessage(110, 55, 110, -1.0, 0.70, 1, 0.1, 3.0, 0.1, 2.0, -1);
    ShowSyncHudMsg(0, g_iSyncMessage, "Terrorists %d - %d Counter-Terrorists", iTs, iCTs);
}
 
Последнее редактирование:
Сообщения
213
Реакции
71
Помог
2 раз(а)
w0w I think you should make it:

ShowSyncHudMsg(0, g_iSyncMessage, "TERRORISTS: %d - %d CT", iTs, iCTs);

%d Counter-Terrorists:

So, if anyone other than me, find this, don't get confuse !! Few are good but few have very Less Idea And Thanks Alot.
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу