Ana içeriğe geç

SetVehicleToRespawn

Description

Sets a vehicle back to the position at where it was created.

NameDescription
vehicleidThe 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);
}