Raised This Month: $32 Target: $400
 8% 

Bullet damage (HP + Enemy name)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sanimare
Senior Member
Join Date: Sep 2010
Old 02-21-2019 , 19:49   Bullet damage (HP + Enemy name)
Reply With Quote #1

Hi,

I saw many requests for similar plugins. Mine is next..
I tried something from other codes and mine own to mix together like this:
Code:
#include <amxmodx> #define PLUGIN "Bullet Damage COLORed by Leo_[BH]" #define AUTHOR "ConnorMcLeod / Leo_[BH]" #define VERSION "0.0.3" #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)         new victim_name[33]                     get_user_name(iVictim, victim_name, 32)             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(random_num(0, 224), random_num(0, 224), random_num(0, 224), Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 0, 0.1, 2.5, 0.02, 0.02, -1)             show_hudmessage(id, "-%i %s", read_data(2), victim_name)         }     } }
What im trying to do is this:


Plus i want some effect like fadein and fadeout if its possible, btw on this picture it is showing only on right side when you do damage and left when you are reciving. So in my code it's all around me.

I think i have done half of a job.

So is it possible to do something to this code of mix and make same?
Any help will be useful

Thank's
sanimare is offline
sanimare
Senior Member
Join Date: Sep 2010
Old 07-21-2019 , 09:46   Re: Bullet damage (HP + Enemy name)
Reply With Quote #2

Is it possible for someone to do this to work better then mine version?
sanimare is offline
sanimare
Senior Member
Join Date: Sep 2010
Old 11-10-2019 , 10:39   Re: Bullet damage (HP + Enemy name)
Reply With Quote #3

Still no help for this from anyone here or around, what's up with this plugin (impossible?)
sanimare is offline
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 11-10-2019 , 11:05   Re: Bullet damage (HP + Enemy name)
Reply With Quote #4

both victim ( who you attack to ) and attacker (who attacks you ) names on hud ?
LearninG is offline
sanimare
Senior Member
Join Date: Sep 2010
Old 11-10-2019 , 11:08   Re: Bullet damage (HP + Enemy name)
Reply With Quote #5

Yes, red one on picture is from enemy attacker (red color), but when i shot to show random colors.
sanimare is offline
sanimare
Senior Member
Join Date: Sep 2010
Old 01-15-2020 , 16:30   Re: Bullet damage (HP + Enemy name)
Reply With Quote #6

Any' can do this in 2020?
sanimare 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 18:48.


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