Damage Objects with LUA

I’d like to control damage state of some objects with LUA. Some objects like prop_elecbox_04a has one or more models of themsleves but damaged.
For example if you hit the electricity box which I’ve mentioned earlier it’s model gonna be replaced with the damaged one.
So is there any natives for doing this? It is important that I don’t want to apply force to the object so physics is not the case here, just want to change state of object. Like SetObjectDamaged( object_ID, damage_level )

1 Like

DamageEvents v1.0 has EntityDamaged event, not sure if it returns the handle for all entities or players/peds/vehicles only.

As I said I need to ‘set’ damage by myself and not to listen for any kind of damage.

Oh sorry, I misread I have no idea, but maybe SetEntityHealth - Natives @ Cfx.re Docs ? I doubt it tho.