21.06.2011, 12:08
That what i did -
The vehicle death but no respawn, why?
Thanks
PHP код:
OnVehicleDeath
if(BombCar[vehicleid] == 1) SetVehicleToRespawn(vehicleid);
OnGameModeInit
for(new i; i<sizeof(PlaceCarsBomb);i++)
{
BombCars[i] = AddStaticVehicle(PlaceCarsBombModel[i],PlaceCarsBomb[i][0],PlaceCarsBomb[i][1],PlaceCarsBomb[i][2]+1,PlaceCarsBomb[i][3],random(15),random(15));
BombCar[BombCars[i]] = 1;
}
Thanks