hj881231 发表于 2007-5-4 12:06:58

求弹道插件``

我去SIMEN问过了..他们说点通的插件比较齐全...谁可以发给我一个..我QQ215014462
就是开枪了有一条弹道跟着过去的那个
:cry: :cry: :cry: :cry: :cry:

a188 发表于 2009-1-6 12:25:48

:P同求,蛤

点通粉丝 发表于 2009-1-10 04:38:49

#include <amxmodx>
#include <csx>

#define PLUGIN "Death HitPlace Details"
#define VERSION "1.0"
#define AUTHOR "Alka"

new
head_hit,
chest_hit,
leftarm_hit,
rightarm_hit,
leftleg_hit,
rightleg_hit,
stomach_hit,
total_hits;

new toggle_plugin;

public plugin_init() {
       
        register_plugin(PLUGIN, VERSION, AUTHOR)
       
        register_logevent("round_start", 2, "1=Round_Start")
       
        toggle_plugin = register_cvar("amx_showhitplace","1")
}

public client_damage(attacker,victim,damage,weapon,hitplace,ta)
{
        if(!get_pcvar_num(toggle_plugin))
                return 1;
       
        if(hitplace == HIT_HEAD || hitplace == HIT_CHEST || hitplace == HIT_STOMACH || hitplace == HIT_LEFTARM || hitplace == HIT_RIGHTARM || hitplace == HIT_LEFTLEG || hitplace == HIT_RIGHTLEG)
                total_hits ++
       
        if(hitplace == HIT_HEAD)
                head_hit ++
       
        else if(hitplace == HIT_CHEST)
                chest_hit ++
       
        else if(hitplace == HIT_STOMACH)
                stomach_hit ++
       
        else if(hitplace == HIT_LEFTARM)
                leftarm_hit ++
       
        else if(hitplace == HIT_RIGHTARM)
                rightarm_hit ++
       
        else if(hitplace == HIT_LEFTLEG)
                leftleg_hit ++
       
        else if(hitplace == HIT_RIGHTLEG)
                rightleg_hit ++
       
        return 0;
}

public client_death(killer,victim,weapon,hitplace,tk)
{
        if(!get_pcvar_num(toggle_plugin))
                return 1;
       
        set_hudmessage(0, 255, 255, -1.0, -0.49, 0, 2.0, 5.0, 0.1, 0.1, -1)
        show_hudmessage(victim, "(%d)^n--%d--[%d]--%d--^n[%d]^n%d %d^n_/\_",head_hit,leftarm_hit,chest_hit,rightarm_hit,stomach_hit,leftleg_hit,rightleg_hit)
       
        set_hudmessage(255, 25, 0, 0.45, 0.51, 0, 2.0, 5.0, 0.1, 0.1, -1)
        show_hudmessage(victim,"Total Hits: %d",total_hits)
       
        return 1;
}

public round_start()
{
        if(!get_pcvar_num(toggle_plugin))
                return 1;
       
        new players, num
        get_players(players, num)
       
        new player
        for(new i = 0; i < num; i++)
        {
                player = players
               
                head_hit = 0
                chest_hit = 0
                stomach_hit = 0
                leftarm_hit = 0
                rightarm_hit = 0
                leftleg_hit = 0
                rightleg_hit = 0
               
                total_hits = 0
        }
        return 1;
} 2# a188
cvar
amx_showhitplace 1(默认: 1 ) -1启用/0禁用插件。

8874323 发表于 2009-1-10 10:31:49

我去SIMEN问过了..他们说点通的插件比较齐全...谁可以发给我一个..我QQ215014462
就是开枪了有一条弹道跟着过去的那个
:cry: :cry: :cry: :cry: :cry:
hj881231 发表于 2007-5-4 12:06 http://www.dt-club.net/forum/images/common/back.gif
找作弊器吧

yeren45 发表于 2009-3-8 02:27:24

呵呵······搞笑··
页: [1]
查看完整版本: 求弹道插件``