OnVehicleDeath - 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: OnVehicleDeath (
/showthread.php?tid=334386)
OnVehicleDeath -
Bogdan1992 - 14.04.2012
Doesn't returns the correct number on vehicleid -.-
I tried with
pawn Код:
new veh = GetPlayerVehicleID(killerid);
still nothing...
I also tried with
pawn Код:
new veh = GetPlayerIdFromName(pname /*pname is the killerid ofc */);
still nothing..
Any ideas how can i get the correct vehicleid?
Re: OnVehicleDeath -
Sphex - 14.04.2012
I don't understand, what are you trying to do? Return the vehicle ID?
Re: OnVehicleDeath -
[NoV]LaZ - 14.04.2012
GetPlayerVehicleID works.
Re: OnVehicleDeath -
Bogdan1992 - 14.04.2012
The vehicleid doesn't return the correct number, i debuged it and i get random numbers.
Re: OnVehicleDeath -
Hiddos - 14.04.2012
The vehicleid provided by the callback is correct, the killerid is bugged and has been since it was introduced.
Re: OnVehicleDeath -
Bogdan1992 - 14.04.2012
Alright Hiddos. I wonder if Kalcor will solve this with the new updates from 0.3e