Custom DeathMsg?
So far, this is what I have...
Code:
Which prints "Spunky killed self with starvation" in the console. What I want is for the actual DeathMsg in the top right to show "Starvation" as the killer instead of the weapon, which doesn't work. Is there a way to do this? If not, then I want to fix it so that it will actually display as the weapon. |
Re: Custom DeathMsg?
You could change the player's name before you send the message, then change the name back.
|
Re: Custom DeathMsg?
I think he wants a fake killer named "starvation" to kill a player... you could rename another player for that but what if the server only has one player ?! you could do a bot for that... named with the mod name or something... then when the player starves to death.. rename the bot quickly, set him as the killer and rename him back... there's a plugin that allows players to change name while they are dead...
|
Re: Custom DeathMsg?
Quote:
|
Re: Custom DeathMsg?
Well, I told you what you need to do... don't you know how ?
to create a spectator bot just search for a kz plugin, and see there how it's made :) I think you can manage the rest |
Re: Custom DeathMsg?
There is a dod plugin that replaces the X symbol with the persons weapon for suicides. Maybe code from that can be useful, idk.
|
| All times are GMT -4. The time now is 08:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.