DeathMsg
How can I make a diffrent DeathMsg? It already shows that the player was killed by worldspawn in the console, but how can I make that it would show worldspawn ingame instead of a knife? I searched for answers and found that it has something to do with TruncatedWeaponName, but I didn't find something similar in what I want. :s
|
Re: DeathMsg
Not 100% sure what you want your end result to be. Have you tried:
make_deathmsg( idKiller , idVictim , headshot (0 or 1) , "knife") |
Re: DeathMsg
Try to hook ham killed pre. And check if user commiting a suicide and check the dmgbits and do new sucide deathmsg etc.
|
Re: DeathMsg
Post your code.
|
Re: DeathMsg
I want to do something like this(the photo isn't mine):
http://i294.photobucket.com/albums/m...m3ts/sprit.jpg In the console it shows that the player has been killed by a hegrenade, but not in the game. It just shows a worldspawn icon which I don't want. Instead of it I want it to show a hegrenade icon. I tried doing it with make_deathmsg but it just makes an extra deathmsg so it looks like that the player has killed the enemy two times lol Code:
public player_death()Code:
message_begin(MSG_ONE, gmsgWeaponList, {0,0,0}, id) |
Re: DeathMsg
PHP Code:
|
Re: DeathMsg
You should use grenade instead of hegrenade and weapon_hegrenade.
|
Re: DeathMsg
i can make new icon for death ? like i had my own weapon and i want to change icon to be someting else
hellmonja way is right ? |
Re: DeathMsg
You can but only for yourself (client-side), it's not something that clients can just download.
|
Re: DeathMsg
i cant just make a txt file and put sprite resolution . etc in it ?
|
| All times are GMT -4. The time now is 21:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.