Иконка ресурса

Damager 0.0.5

Нет прав для скачивания

iOS

Сообщения
323
Реакции
100
Помог
5 раз(а)
steelzzz , может стоит перенести "Входящий урон" с верха прицела вправо? Или под наносимый урон?
 

iOS

Сообщения
323
Реакции
100
Помог
5 раз(а)
steelzzz , игроки сказали что при броске HE иногда показывает урон - 0. Исправьте пожалуйста :)
 

d3m37r4

111111
Сообщения
1,449
Реакции
1,175
Помог
10 раз(а)
iOS,
Diff:
-    if(!is_user_connected(iAttacker) || flDamage < 0.0 || !rg_is_player_can_takedamage(iVictim, iAttacker))
+    if(!is_user_connected(iAttacker) || flDamage <= 0.0 || !rg_is_player_can_takedamage(iVictim, iAttacker))
 

iOS

Сообщения
323
Реакции
100
Помог
5 раз(а)
Что нужно изменить чтоб весь нанесённый урон показывался бирюзовым цветом а не рандомным?
 
Сообщения
400
Реакции
147
Помог
11 раз(а)
iOS, для начала находишь свой цвет какой тебе нужен: Таблица RGB-кодов некоторых оттенков цветов, которая может помочь при выборе цвета чата или прицела в Counter-Strike. и что-то где-то нужно будет подправить в коде, чтобы не было рандомного цвета, а был только бирюзовый.
C-like:
new const g_szColors[][] =
{
    { 255, 228, 181 },
    { 30, 144, 255 },
    { 255, 255, 0 },
    { 50, 205, 50 },
    { 144, 238, 144 }
}
C-like:
public DmgMenu_Handler(iPlayer, iKey)
{
    if(iKey == 9)
    {
        nVaultSaveData(iPlayer);
        return PLUGIN_HANDLED;
    }

#if VISIBILITY_THROUGH_WALLS == 1
    new const iPtr[] = {STATE, STYLE, TYPE, INCOMING, VISIBLE};
#else
    new const iPtr[] = {STATE, STYLE, TYPE, INCOMING};
#endif
    iKey = iPtr[iKey];

    g_iDamagerData[iPlayer][iKey] = !g_iDamagerData[iPlayer][iKey];
    Command_ShowDmgMenu(iPlayer);

    return PLUGIN_HANDLED;
}

public CPlayer_TakeDamage_Post(iVictim, iInflictor, iAttacker, Float:flDamage, iBitsDamageType)
{
    if(!is_user_connected(iAttacker) || flDamage < 0.0 || !rg_is_player_can_takedamage(iVictim, iAttacker))
    {
        return;
    }

    if(iBitsDamageType & DMG_BLAST) // works?
    {
        return;
    }
#if VISIBILITY_THROUGH_WALLS == 1
    if(!g_iDamagerData[iAttacker][STATE] || (!g_iDamagerData[iAttacker][VISIBLE] && !ExecuteHam(Ham_FVisible, iAttacker, iVictim)))
#else
    if(!g_iDamagerData[iAttacker][STATE] || (!ExecuteHam(Ham_FVisible, iAttacker, iVictim)))
#endif
    {
        return;      
    }
    new iColor = random_num(0, sizeof(g_szColors) - 1);
    if(g_iDamagerData[iAttacker][TYPE])
    {
        new iPos = ++g_iDamagerData[iAttacker][POSITION];

        if(iPos == sizeof(g_szCoords))
        {
            iPos = g_iDamagerData[iAttacker][POSITION] = 0;
        }

        if(g_iDamagerData[iVictim][INCOMING])
        {
            set_hudmessage(255, 0, 0, g_szCoords[iPos][0], g_szCoords[iPos][1]+0.06, 0, 0.1, 2.5, 0.02, 0.02, -1);
            ShowSyncHudMsg(iVictim, g_HudSyncMessage2, (g_iDamagerData[iVictim][STYLE]) ? "*" : "%.0f", flDamage);
        }
        set_hudmessage(g_szColors[iColor][0], g_szColors[iColor][1], g_szColors[iColor][2], g_szCoords[iPos][0], g_szCoords[iPos][1], 0, 0.1, 2.5, 0.02, 0.02, -1);
        ShowSyncHudMsg(iAttacker, g_HudSyncMessage, (g_iDamagerData[iAttacker][STYLE]) ? "*" : "%.0f", flDamage);
    }
    else
    {
        if(g_iDamagerData[iVictim][INCOMING])
        {
            set_hudmessage(255, 0, 0, -1.0, 0.45, 2, 0.1, 4.0, 0.02, 0.02, -1);
            ShowSyncHudMsg(iVictim, g_HudSyncMessage2, (g_iDamagerData[iVictim][STYLE]) ? "*" : "%.0f", flDamage);
        }
        set_hudmessage(g_szColors[iColor][0], g_szColors[iColor][1], g_szColors[iColor][2], -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, -1);
        ShowSyncHudMsg(iAttacker, g_HudSyncMessage, (g_iDamagerData[iAttacker][STYLE]) ? "*" : "%.0f", flDamage);
    }
}
:scratch_one-s_head::dntknw:
 
Последнее редактирование:

iOS

Сообщения
323
Реакции
100
Помог
5 раз(а)
d3m37r4, не помогло. Также урон с гранаты показывает нулём.
 

d3m37r4

111111
Сообщения
1,449
Реакции
1,175
Помог
10 раз(а)
iOS, чет не то сделал, CPlayer_TakeDamage при дамаге <= 0 не будет вызываться, и сообщение не будет показываться. Плагин не будет работать внелогики же ж.
 

iOS

Сообщения
323
Реакции
100
Помог
5 раз(а)
d3m37r4 , всё правильно. Вот исходник.
Оно то нормально показывает урон с гранаты, то просто нулём.
 

Вложения

Сообщения
594
Реакции
350
Предупреждения
1
Помог
9 раз(а)
iOS, попробуй вместо DMG_BLAST поставить 63.
 
Сообщения
1,277
Реакции
2,259
Помог
57 раз(а)
Код:
#define DMG_GRENADE                     (1<<24)     // Counter-Strike only - Hit by HE grenade
?
 
Сообщения
5
Реакции
0
Fix this pls

Код:
 L 03/26/2019 - 05:15:08: Start of error session.
L 03/26/2019 - 05:15:08: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 05:15:08: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 05:15:08: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 05:15:08: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 05:15:08: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 05:15:08: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:25:29: Start of error session.
L 03/26/2019 - 12:25:29: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 12:25:29: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:25:29: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:25:29: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:25:29: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:25:29: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:25:34: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:25:34: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:25:34: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:25:34: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:25:34: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:25:34: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:25:34: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:25:34: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:25:34: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:25:34: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:27:11: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:27:11: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:27:11: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:27:11: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:27:11: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:27:39: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:27:39: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:27:39: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:27:39: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:27:39: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:27:41: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:27:41: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:27:41: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:27:41: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:27:41: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:27:42: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:27:42: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:27:42: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:27:42: [AMXX] [0] float.inc::operator <<(Float:,Float :) (line 156)
L 03/26/2019 - 12:27:42: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:28:17: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:28:17: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:28:17: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:28:17: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:28:17: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:28:17: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:28:17: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:28:17: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:28:17: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:28:17: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:28:18: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:28:18: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:28:18: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:28:18: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:28:18: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:29:48: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:29:48: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:29:48: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:29:48: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:29:48: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:29:48: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:29:48: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:29:48: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:29:48: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:29:48: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:29:50: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:29:50: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:29:50: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:29:50: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:29:50: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:29:56: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:29:56: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:29:56: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:29:56: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:29:56: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 12:30:53: [ReAPI] rg_is_player_can_takedamage: player 6 is not connected
L 03/26/2019 - 12:30:53: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 12:30:53: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 12:30:53: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 12:30:53: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:43:32: Start of error session.
L 03/26/2019 - 14:43:32: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 14:43:32: [ReAPI] rg_is_player_can_takedamage: player 3 is not connected
L 03/26/2019 - 14:43:32: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:43:32: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:43:32: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:43:32: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:43:52: [ReAPI] rg_is_player_can_takedamage: player 3 is not connected
L 03/26/2019 - 14:43:52: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:43:52: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:43:52: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:43:52: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:43:53: [ReAPI] rg_is_player_can_takedamage: player 3 is not connected
L 03/26/2019 - 14:43:53: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:43:53: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:43:53: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:43:53: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:43:54: [ReAPI] rg_is_player_can_takedamage: player 3 is not connected
L 03/26/2019 - 14:43:54: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:43:54: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:43:54: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:43:54: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:50:25: Start of error session.
L 03/26/2019 - 14:50:25: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 14:50:25: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 14:50:25: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:50:25: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:50:25: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:50:25: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:50:26: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 14:50:26: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:50:26: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:50:26: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:50:26: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 14:50:26: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 14:50:26: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 14:50:26: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 14:50:26: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 14:50:26: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 15:17:35: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 15:17:35: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 15:17:35: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 15:17:35: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 15:17:35: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 15:17:38: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 15:17:38: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 15:17:38: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 15:17:38: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 15:17:38: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 15:17:43: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 15:17:43: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 15:17:43: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 15:17:43: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 15:17:43: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:31:41: Start of error session.
L 03/26/2019 - 16:31:41: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 16:31:41: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 16:31:41: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:31:41: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:31:41: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:31:41: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:31:42: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 16:31:42: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:31:42: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:31:42: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:31:42: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:43:22: Start of error session.
L 03/26/2019 - 16:43:22: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 16:43:22: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 16:43:22: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:43:22: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:43:22: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:43:22: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:43:23: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 16:43:23: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:43:23: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:43:23: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:43:23: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:43:23: [ReAPI] rg_is_player_can_takedamage: player 4 is not connected
L 03/26/2019 - 16:43:23: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:43:23: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:43:23: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:43:23: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:48:28: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 16:48:28: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:48:28: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:48:28: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:48:28: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 16:48:29: [ReAPI] rg_is_player_can_takedamage: player 2 is not connected
L 03/26/2019 - 16:48:29: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 16:48:29: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 16:48:29: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 16:48:29: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 19:53:11: Start of error session.
L 03/26/2019 - 19:53:11: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 19:53:11: [ReAPI] rg_is_player_can_takedamage: player 10 is not connected
L 03/26/2019 - 19:53:11: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 19:53:11: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 19:53:11: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 19:53:11: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 23:12:46: Start of error session.
L 03/26/2019 - 23:12:46: Info (map "de_dust2") (file "addons / amxmodx / logs / error_20190326.log")
L 03/26/2019 - 23:12:46: [ReAPI] rg_is_player_can_takedamage: player 5 is not connected
L 03/26/2019 - 23:12:46: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 23:12:46: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 23:12:46: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 23:12:46: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 23:12:46: [ReAPI] rg_is_player_can_takedamage: player 5 is not connected
L 03/26/2019 - 23:12:46: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 23:12:46: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 23:12:46: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 23:12:46: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
L 03/26/2019 - 23:12:46: [ReAPI] rg_is_player_can_takedamage: player 5 is not connected
L 03/26/2019 - 23:12:46: [AMXX] Displaying debug trace (plugin "damager.amxx", version "0.0.4b")
L 03/26/2019 - 23:12:46: [AMXX] Run time error 10: native error (native "rg_is_player_can_takedamage")
L 03/26/2019 - 23:12:46: [AMXX] [0] float.inc::operator<(Float:,Float :) (line 156)
L 03/26/2019 - 23:12:46: [AMXX] [1] damager.sma :: CPlayer_TakeDamage_Post (line 215)
[/ CODE]
 

iOS

Сообщения
323
Реакции
100
Помог
5 раз(а)
steelzzz , если подорвать себя гранатой показывает два раза урон.
 

Вложения

d3m37r4

111111
Сообщения
1,449
Реакции
1,175
Помог
10 раз(а)
iOS, в условие проверку iVictim != iAttacker надо добавить.
 
Сообщения
594
Реакции
350
Предупреждения
1
Помог
9 раз(а)
На днях учту все правки и обновлю плагин
 
Сообщения
15
Реакции
-3
Добавьте настройку пожалуйста, чтобы доступ был всем или по флагу?
 

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

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