SA-MP Forums Archive
Carpark reason 50 ? - 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: Carpark reason 50 ? (/showthread.php?tid=584136)



Carpark reason 50 ? - BruLaX - 02.08.2015

Hi, When I carpark someone to dead than it marks reason 50. I looked everywhere but didnt find anything dat can cause this problem. I looked in onplayerdeath to see but nowhere i cant find reason 50 when its carparks.


Re: Carpark reason 50 ? - Abagail - 02.08.2015

Actually the death reason for vehicle(NOT CARPARK, just being killed by a vehicle) is 49, 50 is helicopter blade.
https://sampwiki.blast.hk/wiki/Weapons


Re : Re: Carpark reason 50 ? - BruLaX - 02.08.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Actually the death reason for vehicle(NOT CARPARK, just being killed by a vehicle) is 49, 50 is helicopter blade.
https://sampwiki.blast.hk/wiki/Weapons
Yes i know but when somone carparks me and i die its marks me reason 50 °° and hes not in a helicopter and didnt kill me with helicopter blades °°


Re: Carpark reason 50 ? - xVIP3Rx - 02.08.2015

I think 49 is for hitting with a vehicle, 50 is actually the one for car parking.

I don't understand the problem though..


Re : Carpark reason 50 ? - BruLaX - 02.08.2015

The problem is that its not logic look when somone carparks me its tells in the deadlist that i have been killed by helicopter blades and now im trying to do a anti hellikill and if somoane carparks me than it tells anti hellkill thats the problem


Re: Carpark reason 50 ? - xVIP3Rx - 02.08.2015

In the anti-cheat, check if it's 50;
if you're bothered about the wrong id being shown, you can change the id to 49 if it's 50


Re: Carpark reason 50 ? - Abagail - 02.08.2015

What weapon ID is reported in OnPlayerDeath?


Re: Carpark reason 50 ? - xVIP3Rx - 02.08.2015

50, by me debugging