AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   DeathMsg icon (https://forums.alliedmods.net/showthread.php?t=293677)

EFFx 02-06-2017 23:10

DeathMsg icon
 
Is possible to add the flashbang's icon to kill message?

georgik57 02-07-2017 04:29

Re: DeathMsg icon
 
it is, but the icon is all fucked up due to bad client-sided hud txt file.
say exactly what you want to do.

grs4 02-07-2017 04:31

Re: DeathMsg icon
 
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() 


PRoSToTeM@ 02-07-2017 04:58

Re: DeathMsg icon
 
You can't add, you can use it only alone like another weapon.

EFFx 02-07-2017 14:22

Re: DeathMsg icon
 
@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.

georgik57 02-08-2017 07:14

Re: DeathMsg icon
 
when do u wanna show it?

grs4 02-08-2017 08:33

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

EFFx 02-08-2017 14:31

Re: DeathMsg icon
 
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.

georgik57 02-08-2017 15:27

Re: DeathMsg icon
 
Post the code or at least the part of it which does damage or kills the player.

EFFx 02-08-2017 22:05

Re: DeathMsg icon
 
https://forums.alliedmods.net/showpo...7&postcount=20


All times are GMT -4. The time now is 21:00.

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