SA-MP Forums Archive
"OnVehicleDeath" isn't called -.- - 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" isn't called -.- (/showthread.php?tid=306954)



"OnVehicleDeath" isn't called -.- - Awesome™ - 28.12.2011

Hey guys.

When my vehicle explodes or enters water "OnVehicleDeath" isn't called.
Why the hell?

Thanks.


Re: "OnVehicleDeath" isn't called -.- - coole210 - 28.12.2011

Have you tried adding printf to OnVehicleDeath?

Quote:
Originally Posted by SA-MP Wiki
Note: This callback will also be called when a vehicle enters water



AW: "OnVehicleDeath" isn't called -.- - Awesome™ - 31.12.2011

Of course I tried, it doesn't work.


Re: "OnVehicleDeath" isn't called -.- - MoroDan - 31.12.2011

Are you check if your callback it's called on an Filterscript, or in gamemode ?
If it's called on a filterscript, check others filterscripts and your gamemode, like at the final of callback, to have
pawn Код:
return 1;
not
pawn Код:
return 0;