Raised This Month: $51 Target: $400
 12% 

bullet_damage(f117bomb)


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2009 , 01:21   Re: bullet_damage(f117bomb)
Reply With Quote #101

Quote:
Originally Posted by slowmoe View Post
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
__________________

Last edited by Bugsy; 05-23-2009 at 01:25.
Bugsy is offline
CuLLi
BANNED
Join Date: Apr 2009
Location: Romania (piratebay) C
Old 05-23-2009 , 01:46   Re: bullet_damage(f117bomb)
Reply With Quote #102

Quote:
Originally Posted by ConnorMcLeod View Post
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 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)
CuLLi is offline
tomax079
Member
Join Date: Apr 2009
Location: Lithuania
Old 05-24-2009 , 01:17   Re: bullet_damage(f117bomb)
Reply With Quote #103

Thanks , i need it
tomax079 is offline
Send a message via Skype™ to tomax079
STr!ker
Senior Member
Join Date: Jun 2009
Location: Germany
Old 07-02-2009 , 08:03   Re: bullet_damage(f117bomb)
Reply With Quote #104

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 is offline
STr!ker
Senior Member
Join Date: Jun 2009
Location: Germany
Old 07-17-2009 , 10:32   Re: bullet_damage(f117bomb)
Reply With Quote #105

no idea?
STr!ker is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 07-17-2009 , 10:38   Re: bullet_damage(f117bomb)
Reply With Quote #106

use this plugin
http://forums.alliedmods.net/showthread.php?p=789735
__________________
alan_el_more is offline
bordaciokas
BANNED
Join Date: Feb 2009
Location: Lithuania
Old 07-20-2009 , 10:19   Re: bullet_damage(f117bomb)
Reply With Quote #107

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?

Last edited by bordaciokas; 07-20-2009 at 10:24.
bordaciokas is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 07-20-2009 , 10:24   Re: bullet_damage(f117bomb)
Reply With Quote #108

Quote:
Originally Posted by alan_el_more View Post
__________________
alan_el_more is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-20-2009 , 10:35   Re: bullet_damage(f117bomb)
Reply With Quote #109

Or http://forums.alliedmods.net/showthr...921#post719921
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
mantukas1112
New Member
Join Date: Mar 2009
Old 11-28-2009 , 15:13   Re: bullet_damage(f117bomb)
Reply With Quote #110

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));
        } 
}
mantukas1112 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:10.


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