You need to have new names for the variables.
like: AddLocalVarInt("BreakDoorInt
2", 1);
Thats why you seem to have to hit it infinity times.
I dont see more mistakes...
edit:
if(GetLocalVarInt("BreakDoorInt") == 2)
{
PlaySoundAtEntity("", "break_wood_metal.snt", "Pieces_3", 0, false);
SetPropHealth("BreakableDoor_2", -1);
AddPropImpulse("BreakableDoor_2", 0, 0, -0.5, "world");
}
PlaySoundAtEntity("", "break_wood.snt", "BreakableDoor_2", 0, false);
AddLocalVarInt("BreakDoorInt", 1);
CreateParticleSystemAtEntity("", "ps_hit_wood", "BreakEffect_1", false);
CreateParticleSystemAtEntity("", "ps_hit_wood", "BreakEffect2", false);
}
Why do you have both effects here?
You made that three times in your script.
I think its wrong, you just need the effect on the door where you hit
No one knows, how "I" goes.