AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   bullet_damage(f117bomb) (https://forums.alliedmods.net/showthread.php?t=3119)

Bugsy 05-23-2009 01:21

Re: bullet_damage(f117bomb)
 
Quote:

Originally Posted by slowmoe (Post 832836)
how i can change the colour from blue into red ?

The first 3 params of set_hudmessage represent RGB (Red, Green, Blue) which are used to set the color. If you want it just to be red, set red to 255 (or a lower number will give you a different hue of red) then set green and blue to 0.

http://www.drpeterjones.com/colorcalc/

In original:
PHP Code:

set_hudmessage(0100200, -1.00.5520.14.00.020.027)

to

set_hudmessage
(25500, -1.00.5520.14.00.020.027

In ConnorMcLeods
PHP Code:

set_hudmessage(04080Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 00.12.50.020.02, -1)

to

set_hudmessage
(25500Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 00.12.50.020.02, -1


CuLLi 05-23-2009 01:46

Re: bullet_damage(f117bomb)
 
Quote:

Originally Posted by ConnorMcLeod (Post 719921)
Don't use first post version, use either vittu's one or mine.

-edit-
Just written a new version from the scratch (kept set_hudmessage settings), no received damage as you should notice it without any plugin.
Show the damage at different places each time so it looks like a circle when you do lot of damage in a short time (idea was from some guy on djeyl forum).


Best bullet dmg for all time :D I changed to show the hud message from 2.5 to 10 but i dont know how to show more than 2 damages in the hud? Can you edit for me to show all in 8 places damage when i do 8 damages in 10 seconds?

(this is for knife)

tomax079 05-24-2009 01:17

Re: bullet_damage(f117bomb)
 
Thanks , i need it :)

STr!ker 07-02-2009 08:03

Re: bullet_damage(f117bomb)
 
works fine but, the konsole show me other:


Quote:

L 07/02/2009 - 13:57:16: Invalid player id 304
L 07/02/2009 - 13:57:16: [AMXX] Displaying debug trace (plugin "bullet_damage.amxx")
L 07/02/2009 - 13:57:16: [AMXX] Run time error 10: native error (native "show_hudmessage")
L 07/02/2009 - 13:57:16: [AMXX] [0] bullet_damage.sma::damage_msg (line 27)
L 07/02/2009 - 13:57:16: Invalid player id 304
L 07/02/2009 - 13:57:16: [AMXX] Displaying debug trace (plugin "bullet_damage.amxx")
L 07/02/2009 - 13:57:16: [AMXX] Run time error 10: native error (native "show_hudmessage")
L 07/02/2009 - 13:57:16: [AMXX] [0] bullet_damage.sma::damage_msg (line 27)
L 07/02/2009 - 13:57:16: Invalid player id 304
L 07/02/2009 - 13:57:16: [AMXX] Displaying debug trace (plugin "bullet_damage.amxx")
L 07/02/2009 - 13:57:16: [AMXX] Run time error 10: native error (native "show_hudmessage")
L 07/02/2009 - 13:57:16: [AMXX] [0] bullet_damage.sma::damage_msg (line 27)
Line 27
Quote:

show_hudmessage(aIndex,"%i", damage)

STr!ker 07-17-2009 10:32

Re: bullet_damage(f117bomb)
 
no idea?

alan_el_more 07-17-2009 10:38

Re: bullet_damage(f117bomb)
 
use this plugin
http://forums.alliedmods.net/showthread.php?p=789735

bordaciokas 07-20-2009 10:19

Re: bullet_damage(f117bomb)
 
this bullshit in hlds console droping? Or not? with this plugin

L 07/20/2009 - 17:11:21: Invalid player id 265
L 07/20/2009 - 17:11:21: [AMXX] Run time error 10 (plugin "bullet_damage.amxx") (native "show_hudmessage") - debug not enabled!
L 07/20/2009 - 17:11:21: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

a?

alan_el_more 07-20-2009 10:24

Re: bullet_damage(f117bomb)
 
Quote:

Originally Posted by alan_el_more (Post 874649)


ConnorMcLeod 07-20-2009 10:35

Re: bullet_damage(f117bomb)
 
Or http://forums.alliedmods.net/showthr...921#post719921

mantukas1112 11-28-2009 15:13

Re: bullet_damage(f117bomb)
 
Can you adapt this to my plugins, because my plugin with the flag
Code:

#include <amxmodx>
new g_HudSyncObj;
public plugin_init()
        register_event("Damage", "Damage", "b", "2!0", "3=0", "4!0");
public plugin_cfg()
        g_HudSyncObj = CreateHudSyncObj();
public Damage(Cl)
{
        static Attacker;
        Attacker = get_user_attacker(Cl);
       
        if (get_user_flags(Attacker) & ADMIN_LEVEL_G)
        {
                set_hudmessage(0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, 7);
                ShowSyncHudMsg(Attacker, g_HudSyncObj, "%d^n", read_data(2));
        }
}



All times are GMT -4. The time now is 06:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.