25.06.2018, 18:40
I guess that all what you need to do is the following..
On top of script
Under on gamemodeinit
And then check OnPlayerGiveDamageToActor, and set the actor's position to the original place, easy..
On top of script
PHP код:
new actor;
PHP код:
actor = CreateActor(model, x, y, z, rotation);
SetActorInvulnerable(actor, 1);
ApplyActorAnimation(actor, animlib, animname, speed, loop, and the rest of the format);