(vehicleid)
vehicleid
The ID of the vehicle to respawn
// Respawns the first vehicle.
SetVehicleToRespawn(1);
Or you can also make every vehicle in the whole script to respawn:
for(new i = GetVehiclePoolSize(); i > 0; i--)
{
SetVehicleToRespawn(i);
}
The following functions may be useful, as they are related to this function in one way or another.