Raised This Month: $ Target: $400
 0% 

DeathMsg icon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-06-2017 , 23:10   DeathMsg icon
Reply With Quote #1

Is possible to add the flashbang's icon to kill message?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 02-07-2017 , 04:29   Re: DeathMsg icon
Reply With Quote #2

it is, but the icon is all fucked up due to bad client-sided hud txt file.
say exactly what you want to do.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 02-07-2017 , 04:31   Re: DeathMsg icon
Reply With Quote #3

try
PHP Code:
message_begin(MSG_ALLget_user_msgid("DeathMsg"))
write_byte(killer)
write_byte(victim)
write_byte(headshot?1:0// change to 1 or 0
write_string("flashbang"// eg. m4a1, m249; just replace("weapon_", "")
message_end() 

Last edited by grs4; 02-07-2017 at 04:31.
grs4 is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 02-07-2017 , 04:58   Re: DeathMsg icon
Reply With Quote #4

You can't add, you can use it only alone like another weapon.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-07-2017 , 14:22   Re: DeathMsg icon
Reply With Quote #5

@georgik57

I mean, when you kill someone with ak47, will show this:

EFFx <ak47's icon> [P0D]*Make Me happy

I want to know if is possible add the flashbang's icon.

@grs4

I already tried it and it doesn't show the flashbang's icon.

@PRoSToTeM@,

Yea, I think you're right.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 02-08-2017 , 07:14   Re: DeathMsg icon
Reply With Quote #6

when do u wanna show it?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 02-08-2017 , 08:33   Re: DeathMsg icon
Reply With Quote #7

I specially given you an example how to do it, to shows, that this is not possible without*editing sprites

Last edited by grs4; 02-08-2017 at 09:06.
grs4 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-08-2017 , 14:31   Re: DeathMsg icon
Reply With Quote #8

I have a script that allows flashbangs to take damage from a enemy, and if the flashbang kills an enemy, show

EFFx <flashbang's icon> [P0D] Make me happy

But I think.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 02-08-2017 , 15:27   Re: DeathMsg icon
Reply With Quote #9

Post the code or at least the part of it which does damage or kills the player.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-08-2017 , 22:05   Re: DeathMsg icon
Reply With Quote #10

https://forums.alliedmods.net/showpo...7&postcount=20
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 21:00.


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