SA-MP Forums Archive
Respawn vehicles - 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: Respawn vehicles (/showthread.php?tid=432129)



Respawn vehicles - morocco - 21.04.2013

hello


Please how to make cmd respawn just this vehicle

pawn Code:
FacInfo[5][fCars][0] = AddStaticVehicle(407,692.6911,2546.6963,-60.8518,275.3983,3,3);
    FacInfo[5][fCars][2] = AddStaticVehicle(407,683.8351,2546.2996,-60.8283,271.9591,3,3);
    FacInfo[5][fCars][3] = AddStaticVehicle(407,683.8505,2550.6799,-60.8489,272.8867,3,3);



AW: Respawn vehicles - HurtLocker - 21.04.2013

Combine this https://sampwiki.blast.hk/wiki/DestroyVehicle along with AddStaticVehicle


AW: Respawn vehicles - Nero_3D - 21.04.2013

That should do the job
pawn Code:
SetVehicleToRespawn(FacInfo[5][fCars][0]);
SetVehicleToRespawn(FacInfo[5][fCars][2]);
SetVehicleToRespawn(FacInfo[5][fCars][3]);