SetVehicleToRespawn
From SA-MP Wiki
SetVehicleToRespawn
SetVehicleToRespawn allows you to respawn a specific vehicle, even when a player is currently driving it.
(vehicleid)
| vehicleid | ID of the car which will be respawned |
This function does not return a specific value.
// Respawns the first car SetVehicleToRespawn(1);
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- CreateVehicle: Create a vehicle.
- DestroyVehicle: Destroy a vehicle.
