SA-MP Forums Archive
[reason death] script bug or sa-mp 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)
+--- Thread: [reason death] script bug or sa-mp bug? (/showthread.php?tid=650816)



[reason death] script bug or sa-mp bug? - RedGun2015 - 07.03.2018

So, when i kill a player (drive-by) being in a vehicle, when the player dies, the reason is not Vehicle, is Heli Blade..

Why, this is a sa-mp bug or there is a bug in my script?

Video: https://*********/CKW0QdcdHRM

I tested multiple times, without nothing in onplayergivedamage/onplayertakedamage/onplayerdeath..and the result is like above..like being killed by a heli blade when the reason should be 49 (vehicle)..


Re: [reason death] script bug or sa-mp bug? - AndreiWow - 07.03.2018

Show some of your code?


Re: [reason death] script bug or sa-mp bug? - RedGun2015 - 07.03.2018

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
Show some of your code?
https://pastebin.com/Hj6UEPmJ

I tested without, and the results is like above, same reason.


Re: [reason death] script bug or sa-mp bug? - AndreiWow - 07.03.2018

Show onplayerdeath


Re: [reason death] script bug or sa-mp bug? - RedGun2015 - 08.03.2018

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
Show onplayerdeath
https://pastebin.com/DfgHCazD


Re: [reason death] script bug or sa-mp bug? - RedGun2015 - 09.03.2018

Bump, so, is a sa-mp bug or what?


Re: [reason death] script bug or sa-mp bug? - ColdBrain - 09.03.2018

Actually its normal its a samp icon but generally mean vehicle kill