SA-MP Forums Archive
[SOLVED]Deathmsg + Kills Bug - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED]Deathmsg + Kills Bug (/showthread.php?tid=122678)



[SOLVED]Deathmsg + Kills Bug - Hijolion - 23.01.2010

Well everything else is fine but when player kills someone with a explosive the killer gets no kills
and deathmsg dosen't notify the kills sysmbol or anything nor even the rank +1 gives to player even if they have acutaly killed a person with a explosive. However other killing weaponarys works just fine


Re: [UNSOLVED]Deathmsg + Kills Bug - llama - 23.01.2010

If a player dies by a CreateExplosion, then there will be no killer. (Although, last I knew, damaging a player before they die by CreateExplosion will cause you to be the killer.)

It should work for grenades, rhino's turret, hunter's rockets, and the hydra's missiles though.


Re: [UNSOLVED]Deathmsg + Kills Bug - Hijolion - 23.01.2010

Quote:
Originally Posted by llama
If a player dies by a CreateExplosion, then there will be no killer. (Although, last I knew, damaging a player before they die by CreateExplosion will cause you to be the killer.)
Its not createexplosions I mean when you kill people with hydras and hunters the missles and grenades get it ?


Re: [UNSOLVED]Deathmsg + Kills Bug - llama - 23.01.2010

I don't know then as the last time I've killed someone with a rhino, it still showed the death message.

Maybe there is something in the script that stops it from calling in case of those death reasons?


Re: [UNSOLVED]Deathmsg + Kills Bug - Hijolion - 23.01.2010

Quote:
Originally Posted by llama
I don't know then as the last time I've killed someone with a rhino, it still showed the death message.

Maybe there is something in the script that stops it from calling in case of those death reasons?
I think :P


Re: [UNSOLVED]Deathmsg + Kills Bug - llama - 23.01.2010

Then that would have to be changed.


Re: [UNSOLVED]Deathmsg + Kills Bug - Hijolion - 23.01.2010

Quote:
Originally Posted by llama
Then that would have to be changed.
Those files are important.


Re: [UNSOLVED]Deathmsg + Kills Bug - llama - 23.01.2010

I meant the thing that stops it from working needs to be edited/changed. Nothing has to be removed.

Can you check the OnPlayerDeath callback?


Re: [UNSOLVED]Deathmsg + Kills Bug - Hijolion - 23.01.2010

Quote:
Originally Posted by llama
I meant the thing that stops it from working needs to be edited/changed. Nothing has to be removed.

Can you check the OnPlayerDeath callback?
I'll give a try.


Re: [UNSOLVED]Deathmsg + Kills Bug - Hijolion - 23.01.2010

Quote:
Originally Posted by Hijol(hg_24)(Skulls)
Quote:
Originally Posted by llama
I meant the thing that stops it from working needs to be edited/changed. Nothing has to be removed.

Can you check the OnPlayerDeath callback?
I'll give a try.
ok I fixed it my self thanks for your help