hello
iam trying to add a pain anim to abstacles
iam using this script:
void damage(int hp,char ani)
{
void self=getlocalvar("self");
if (getentityproperty(self,"health")<=(getentityproperty(self,"maxhealth")*hp/100))
{
changeentityproperty(self,"animation",openborconstant(ani));
}...