Death message shows two times - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Death message shows two times (
/showthread.php?tid=580852)
Death message shows two times -
karemmahmed22 - 08.07.2015
Guys, i facing a deadly bug, my death message shows 2 times instead of one
i asked someone he said thats because of luxadmin idk
But for more explain when i kill someone , it shows that i killed him 2 times , even when i use /kill
I using LVA gamemode , but i edited it to change Gamemode text n disable /jetpack protection
Btw can anyone help me in this?
Re: Death message shows two times -
Mouiz - 08.07.2015
Show me your gamemode or lux admin's "OnPlayerDeath" function
Re: Death message shows two times -
DRCharlie - 09.07.2015
It's simple (we kill the batman), you have to open the luxadmin's PWN file, search for "public OnPlayerDeath" without the quotations and delete the line where it announces the player's death again.
Re: Death message shows two times -
Moudix - 09.07.2015
I don't think LuxAdmin is causing it because i have it installed and i needed to write SendDeathMessage myself in my own gamemode so the kill list appears..
Anyway here's a solution :
- Open the filterscripts you are using.
- Press Ctrl + F and type "OnPlayerDeath".
- Delete all the codes about SendDeathMessage and add a new one to your gamemode.
i hope it works for you.
Re: Death message shows two times -
SoFahim - 09.07.2015
There must be two "OnPlayerDeath" function , One in FS another in GM . check it then tell us