[Include] Clear death messages after X seconds - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Clear death messages after X seconds (
/showthread.php?tid=508452)
Clear death messages after X seconds -
im - 22.04.2014
What is this?
Since 0.3z R2-2 you can use SendDeathMessageToPlayer to send death messages just for a specific player.
This include clears the death message 'killfeed' for a player if the player does not receive a death message in the last X seconds.
Works with both SendDeathMessageToPlayer and SendDeathMessage.
Download:
http://pastebin.com/Wd7ZX6UB
Includes required:
You will need foreach and YSI for this include to work.
You can find foreach here:
https://sampforum.blast.hk/showthread.php?tid=92679 and YSI here:
https://sampforum.blast.hk/showthread.php?tid=321092
Re: Clear death messages after X seconds -
Vaishnav - 22.04.2014
nice job mate

rep+
Re: Clear death messages after X seconds -
L0K3D - 12.09.2015
Nice shad0w
Re: Clear death messages after X seconds -
Florin0597 - 21.12.2015
I do not understand where they come available , undef put them near #define ?
#undef SendDeathMessageToPlayer