warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
SetVehicleToRespawn
Description
Sets a vehicle back to the position at where it was created.
Name | Description |
---|---|
vehicleid | The ID of the vehicle to respawn |
Returns
true - The function executed successfully.
false - The function failed to execute. The vehicle does not exist.
Examples
// Respawns the all vehicles
for (new i = 1; i < MAX_VEHICLES; i++)
{
SetVehicleToRespawn(i);
}
Related Functions
- CreateVehicle: Create a vehicle.
- DestroyVehicle: Destroy a vehicle.