Burgershot
[Pawn] Car Respawn - Printable Version

+- Burgershot (https://www.burgershot.gg)
+-- Forum: SA-MP (https://www.burgershot.gg/forumdisplay.php?fid=3)
+--- Forum: Pawn Scripting (https://www.burgershot.gg/forumdisplay.php?fid=10)
+--- Thread: [Pawn] Car Respawn (/showthread.php?tid=2107)



Car Respawn - dondo - 2021-06-12

Heyo,

qick question: does anyone know how i can destroy a car after it explode? So that it wont respawn.   

greetz,
dondo!


RE: Car Respawn - Otakeiro - 2021-06-12

Code:
public OnVehicleDeath(vehicleid, killerid)
{
    DestroyVehicle(vehicleid);
    return 1;
}