open.mp forum
[Pawn] Car Respawn - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/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;
}