Page 1 of 1

Bullet Damage

Posted: 13 Sep 2010, 00:40
by Sprit3
Am vazut pe mai multe servere de zombie ca au pluginu asta ,bullet damage ,da merge in cerc..am cautat pe forum si n-am gasit.
Poza: http://img814.imageshack.us/f/poza.png/

Re: Bullet Damage

Posted: 13 Sep 2010, 10:15
by dRei
Nu stiu sigur daca merge pentru ca nu l-am testat, dar incearca. :)

http://www.girlshare.ro/1578188.7

Doar .amxx-ul.

Re: Bullet Damage

Posted: 13 Sep 2010, 13:39
by H3adShoT

Re: Bullet Damage

Posted: 13 Sep 2010, 13:43
by b[L]u
nu prea stiu la ce ar fi folositor acest pluign :-?

Re: Bullet Damage

Posted: 14 Sep 2010, 18:41
by Sprit3
nu,nu este niciunu dintre pluginurile alea :(

Re: Bullet Damage

Posted: 16 Sep 2010, 22:22
by Sprit3
chiar nimeni nu stie :O UP!

Re: Bullet Damage

Posted: 16 Sep 2010, 22:36
by H3adShoT
| Afiseaza codul
/*    Copyright © 2009, ConnorMcLeod

    Bullet Damage is free software;
    you can redistribute it and/or modify it under the terms of the
    GNU General Public License as published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Bullet Damage; if not, write to the
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
*/

#include <amxmodx>

#define PLUGIN "Bullet Damage"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.1"

#define MAX_PLAYERS    32

new const Float:g_flCoords[][] = 
{
    {0.50, 0.40},
    {0.56, 0.44},
    {0.60, 0.50},
    {0.56, 0.56},
    {0.50, 0.60},
    {0.44, 0.56},
    {0.40, 0.50},
    {0.44, 0.44}
}

new g_iPlayerPos[MAX_PLAYERS+1]

new g_iMaxPlayers
new g_pCvarEnabled

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)

    g_pCvarEnabled = register_cvar("bullet_damage", "1")

    register_event("Damage", "Event_Damage", "b", "2>0", "3=0")

    g_iMaxPlayers = get_maxplayers()
}

public Event_Damage( iVictim )
{
    if( get_pcvar_num(g_pCvarEnabled) && (read_data(4) || read_data(5) || read_data(6)) )
    {
        new id = get_user_attacker(iVictim)
        if( (1 <= id <= g_iMaxPlayers) && is_user_connected(id) )
        {
            new iPos = ++g_iPlayerPos[id]
            if( iPos == sizeof(g_flCoords) )
            {
                iPos = g_iPlayerPos[id] = 0
            }
            set_hudmessage(0, 40, 80, Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 0, 0.1, 2.5, 0.02, 0.02, -1)
            show_hudmessage(id, "%d", read_data(2))
        }
    }
}

Re: Bullet Damage

Posted: 16 Sep 2010, 22:55
by Sprit3
off nu vrea sa mi`l compileze..imi poti face te rog plugin[.amxx] ? sau o sursa care mere compilata

Re: Bullet Damage

Posted: 16 Sep 2010, 22:58
by H3adShoT

Re: Bullet Damage

Posted: 18 Sep 2010, 20:37
by Sprit3
mersi head ca ai cautat da nu merge nici asta :( nu arata deloc damageu

Re: Bullet Damage

Posted: 19 Sep 2010, 00:24
by H3adShoT
Sprit3 wrote:mersi head ca ai cautat da nu merge nici asta :( nu arata deloc damageu
inseamna ca e de la serverul tau
eu l-am testat si merge