10.04.2010, 20:41
I've got some script with planting bomb and the problem is with blowing the vehicle. This is the PAWN code:
Everything works good, but the real blow is after some time. I want to blow this car immediately. This allows player to run.
If you don't understand, I can create video.
Код:
new Float:pos[3]; GetVehiclePos(vehicleid, pos[0], pos[1], pos[2]); CreateExplosion(pos[0], pos[1], pos[2], 0, 5); SetVehicleHealth(vehicleid, -1);
If you don't understand, I can create video.