SA-MP Forums Archive
Vehicle death-by-explosion detection - 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: Vehicle death-by-explosion detection (/showthread.php?tid=488259)



Vehicle death-by-explosion detection - MP2 - 17.01.2014

Seeing as damage detection has been improved quite a lot in 0.3z, can we finally be able to detect when someone blows up a vehicle and kills the driver using explosions (e.g. hunter rockets)? OnPlayerGive/TakeDamage don't get called, killerid is INVALID_PLAYER_ID under OnPlayerDeath and OnVehicleDeath's killerid doesn't work either.

It can be detected using pawn, sure, but it's not at all reliable or accurate.


Re: Vehicle death-by-explosion detection - Kyle - 17.01.2014

I agree, OPD needs to be improved. Mainly the killerid and reason.


Re: Vehicle death-by-explosion detection - nGen.SoNNy - 17.01.2014

I'm alsoo agree with this. I build a minigame on my server called "World of Tanks" and i can't count the kills xD


Re: Vehicle death-by-explosion detection - Kyle - 22.01.2014

I hate to bump but it has become page 3.

I feel this is really needed and would benefit the community with many modes. Any official beta / Kalcor reply would be appreciated for closure on this idea.

EDIT:

(d0): there wont be any new (big) features in 0.3z after RC1
(d0): everything will be fixed and released most likely


Re: Vehicle death-by-explosion detection - MP2 - 22.01.2014

I really think this needs to be fixed ASAP. It's a basic core thing that hasn't worked for years. It limits so many ideas, for example it's pretty much impossible to make a mode where tanks shoot each other, as you can't detect who kills who.


Respuesta: Vehicle death-by-explosion detection - MugiwaraNoLuffy - 22.01.2014

That's true, a gamemode based in rocket launcher o grenades can't detect kills properly.