02.04.2010, 17:59
I am making a dealership on my server. I want to make it so the car explodes after like 30 seconds of no one being in it. I tried AddStaticVehicleEx but it would only respawn.
OnPlayerExitVehicle(){ cardie[vehicleid] = settimer("explode", 30000, 0); } OnPlayerEnterVehicle(){ killtimer(cardie[vehicleid]); } public explode(vehicleid){ SetVehicleHealth(cardie[vehicleid], 0.0); }