16.01.2010, 17:34
Quote:
|
Originally Posted by Fedee!
Quote:
sorry if im expressing bad.What I want is to "destroy" spawned cars with the command /carname (ex: /jester, /turismo), and the other cars (AddStaticVehicles) just respawn to their normal site. Hope you can understand me now ![]() Thanks! |
Код:
stock RespawnAllVehicles()
{
for(new X = 1; X <= sizeof(SawnedVehicles); X++) if(SpawnedVehicles[X] != 0)DestroyVehicle(SpawnedVehicles[X]);
//change SpawnedVehicles to the variable where you save your spawned vehicles
for(new v = 1; v <= MAX_VEHICLES; v++) SetVehicleToRespawn(v);
}


sorry if im expressing bad.